[geeks] Thoughts on bash for root

Gregory Leblanc gleblanc at linuxweasel.com
Sun Apr 21 00:31:44 CDT 2002


On Sat, 2002-04-20 at 22:28, Bill Bradford wrote:
> On Sun, Apr 21, 2002 at 01:19:57AM -0400, Joshua D Boyd wrote:
> > On Solaris, is it safe to change root to use bash?  How would you do it any
> > way, since usermod won't work for logged in users.
> 
> NO.

Yeah, absolutely not a good idea.

> $ su - root
> <password>
> # bash
> 
> THATS HOW YOU DO IT.  Otherwise, for normal users, edit the password file.
> Or just run "bash".

I find it a lot easier to just create another user with UID 0, and give
them bash as their default shell, and do 'su - joshroot' or whatever.
	Greg

-- 
Portland, Oregon, USA.



More information about the geeks mailing list