Subject: Re: bash problem
To: None <port-i386@netbsd.org>
From: Chris Pinnock <C.J.E.Pinnock@qmw.ac.uk>
List: port-i386
Date: 01/13/2000 12:05:59
Andrew Todorov, writes:
>
> when I change the shell for root to bash the chsh program send this message:
>
> "warning,unknown root shell"
I would personally not use bash for a root shell. This is because it
usually sits in the /usr partition. I want root to be able to run a shell
even if the /usr partition gets corrupted - so I stick with /bin/csh.
(Actually, the first thing I do as root is usually type exec
/usr/pkg/bin/bash, but that's another story...)
My advice is: DON'T DO ANYTHING ABOUT THIS. Stick with /bin/csh.
> 2.In wich file can I set the variables like PS1 (bash variables)?
This is usually done in your personal .bashrc and/or .bash_profile files.
See "man bash" (i.e. type man bash in a shell on your machine).
> 3.Where can I read for NetBSD architecture to lern order of starting of
> system files?
Primarily, use the man pages: e.g. "man inetd.conf" will tell you about the
program inetd and its configuration file.
Second, see the NetBSD website - useful for Frequently Asked Questions and
the like.
If you understand Italian, there is a getting started guide in Italian
(hopefully this will be translated into English very soon) written for
NetBSD - more details at www.netbsd.org.
When you have been using the system for a bit, read the UNIX
System Admin. Handbook. This is not a beginner's book, but
it has a lot of information in it.
HTH; best wishes,
--
Chris mailto:cjep@maths.qmw.ac.uk