[SunHELP] Root Access Problem

William W. Arnold sunhelp at sunhelp.org
Fri Feb 9 10:23:16 CST 2001


Will Mc Donald writes ---
>First of all, nooooooooo. You really shouldn't change root's shell. Ever!

Good Advice.  Let me repeat it:
You really shouldn't change root's shell. Ever!

>>      When trying to change the default shell of root, I put in a incorrect
>> location (/sbin/ksh instead of /bin/sh) in /etc/passwd file. Without
>I don't know if this would work but you could cat /etc/passwd and see what
>it says root's shell is then symlink that to /bin/sh Could work.

It's probably not possible.  Most people's /sbin isn't writable except by root
and if you're root you can just edit the passwd file.

-- 
-billy-  warnold at vipnet.org



More information about the SunHELP mailing list