Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2000 09:36:23 -0800
From:      Matthew Hunt <mph@astro.caltech.edu>
To:        Ryan Thompson <ryan@sasknow.com>
Cc:        Sean Kelly <smkelly@zombie.org>, questions@FreeBSD.ORG
Subject:   Re: toor
Message-ID:  <20001031093623.A76382@wopr.caltech.edu>
In-Reply-To: <Pine.BSF.4.21.0010310356130.14845-100000@ren.sasknow.com>; from ryan@sasknow.com on Tue, Oct 31, 2000 at 04:04:27AM -0600
References:  <20001031012526.A12381@edgemaster.zombie.org> <Pine.BSF.4.21.0010310356130.14845-100000@ren.sasknow.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 31, 2000 at 04:04:27AM -0600, Ryan Thompson wrote:

>  b) Provide the system administrator with a comfortable working
> 	environment (i.e., an alternate login shell).  It is good to
> 	leave root's shell alone--i.e., leave it point to a shell
> 	in /bin/ such as sh, [t]csh, etc, so that it can be used in
> 	single user mode when other partitions (containing libraries
> 	that aren't statically linked, and other useful partitions,
> 	such as /usr) are not mounted.

As I point out everytime someone claims that...

FreeBSD asks you what shell you want when you boot single-user.  It
defaults to /bin/sh.  You will not screw yourself by setting root's
shell to /usr/local/bin/wackysh.  On the other hand, what's wrong with
"su -m" or sudo anyway?  I can't remember the last time I used root's
login shell.

(If you're trying to foster good habits for when people use other
varieties of UNIX that don't ask for a shell in single-user mode, then
you should explain that in your response.)

-- 
Matthew Hunt <mph@astro.caltech.edu> * Inertia is a property
http://www.pobox.com/~mph/           * of matter.


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?20001031093623.A76382>