Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 1997 17:50:13 -0800 (PST)
From:      Snob Art Genre <ben@narcissus.ml.org>
To:        Nessus <jandrese@vt.edu>
Cc:        gippolit@ccsmtp2.eccs.com, questions@freebsd.org
Subject:   Re: How can I chang my root shell
Message-ID:  <Pine.BSF.3.91.970122174915.1151F-100000@narcissus.ml.org>
In-Reply-To: <Pine.BSF.3.95.970122191618.411A-100000@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Jan 1997, Nessus wrote:

> On Wed, 22 Jan 1997 gippolit@ccsmtp2.eccs.com wrote:
> 
> =)     How do I change my root shell
> =)
> =)
> You don't want to do this.  Login as a regular user and su to root
> instead, it will keep the original user's shell (assuming you don't use
> the -l option)  
> The reason for this:
> Assume you change root's shell to /usr/local/bin/tcsh, then later on,
> something breaks in your rc, /usr won't be mounted and root won't have a
> shell.  

This is not correct.  When the system boots to single-user mode, it 
prompts for a shell, defaulting to sh.
 
> ::     Jason Andresen      :. . . . . . . . . :   Running FreeBSD and    ::



 Ben

The views expressed above are not those of the Worker's Compensation 
Board of Queensland, Australia.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970122174915.1151F-100000>