[SunHELP] Root Access Problem

Will Mc Donald sunhelp at sunhelp.org
Fri Feb 9 09:35:52 CST 2001


First of all, nooooooooo. You really shouldn't change root's shell. Ever!

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.

----- Original Message -----
From: <Krishna_Raj at forethought.com>
To: <sunmanagers at sunmanagers.org>
Cc: <Sunhelp at sunhelp.org>
Sent: Friday, February 09, 2001 3:08 PM
Subject: [SunHELP] Root Access Problem


> Hello everybody:
>
>      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
realising,
> I logged out & now, I am trying to logon, it says 'No shell' or invalid
shell. I
> haven't set up any passwd for root. I even tried to ftp change the passwd
file
> but, I am not able to ftp as root as because ID does not have password.
>
>      How do I fix this problem ? I do not have OS CD with me, I got is
machine
> pre-installed with Solaris 7.
>
> Please let me know.
> Thanks in Advance
> Krishna
>
>
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp




More information about the SunHELP mailing list