From owner-freebsd-questions Thu Feb 7 10:24:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp02.iafrica.com (smtp02.iafrica.com [196.7.0.140]) by hub.freebsd.org (Postfix) with ESMTP id 9425237B405 for ; Thu, 7 Feb 2002 10:24:30 -0800 (PST) Received: from 196-31-87-86.nwl.dial.uunet.co.za ([196.31.87.86] helo=galileo.writeclick.co.za) by smtp02.iafrica.com with esmtp (Exim 3.20 #1) id 16YtCw-0001s1-00; Thu, 07 Feb 2002 20:23:43 +0200 Received: from [192.168.0.3] (helo=davinci.writeclick.co.za) by galileo.writeclick.co.za with esmtp (Exim 3.34 #1) id 16YtCh-000O3q-00; Thu, 07 Feb 2002 20:23:27 +0200 Received: from marcus by davinci.writeclick.co.za with local (Exim 3.952 #1) id 16YtCe-00072U-00; Thu, 07 Feb 2002 20:23:24 +0200 Date: Thu, 7 Feb 2002 20:23:24 +0200 From: Marcus Collins To: Roger 'Rocky' Vetterberg Cc: Cliff Sarginson , freebsd-questions@FreeBSD.ORG Subject: Re: toor? Message-ID: <20020207182321.GA27040@davinci.writeclick.co.za> References: <001e01c1af94$a14e04f0$2300a8c0@zeus> <20020207091505.A1036@encephalon.de> <20020207172522.GA2088@raggedclown.net> <3C62B9EE.3020009@rambo.simx.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C62B9EE.3020009@rambo.simx.org> User-Agent: Mutt/1.3.27i Organisation: writeclick productions X-URL: http://www.writeclick.co.za/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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