Date: Thu, 7 Feb 2002 20:23:24 +0200 From: Marcus Collins <marcus@writeclick.co.za> To: Roger 'Rocky' Vetterberg <listsub@rambo.simx.org> Cc: Cliff Sarginson <cliff@raggedclown.net>, freebsd-questions@FreeBSD.ORG Subject: Re: toor? Message-ID: <20020207182321.GA27040@davinci.writeclick.co.za> In-Reply-To: <3C62B9EE.3020009@rambo.simx.org> References: <001e01c1af94$a14e04f0$2300a8c0@zeus> <20020207091505.A1036@encephalon.de> <20020207172522.GA2088@raggedclown.net> <3C62B9EE.3020009@rambo.simx.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 7 Feb 2002 at 18:31:26 +0100, Roger 'Rocky' Vetterberg wrote: > Could someone explain why you cant just chsh or vipw roots shell to > bash, sh or whatever? > I cant see any good reason to have two root accounts just because you > dont like the default root shell. The default root account uses csh as its shell. This is located in /bin, which is (usually) in the / filesystem. You can set toor to use whatever shell you want, for example, /usr/local/bin/bash, and use that in day-to-day superuser operations. If your /usr filesystem gets hosed, you can still login as root (= /bin/csh), assuming your / filesystem can still be mounted. This, AFAIK, is the theory behind having two UID 0 users, rather than just one with whichever shell you select. The "root" user is just a traditional name for UID 0. Any user with UID 0 has superuser privileges. Cheers! -- Marcus To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020207182321.GA27040>