[geeks] Thoughts on bash for root
Joshua D Boyd
jdboyd at cs.millersville.edu
Sun Apr 21 00:38:47 CDT 2002
On Sat, Apr 20, 2002 at 10:31:44PM -0700, Gregory Leblanc 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.
Thanks.
> > $ 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.
I usually only do su root, so now that I don't need to continue fully logging
into root as much, I probably won't feel the need.
--
Joshua D. Boyd
More information about the geeks
mailing list