[SunHELP] Root Access Problem
Frank-Christian Kruegel
sunhelp at sunhelp.org
Fri Feb 9 13:39:19 CST 2001
On Fri, 9 Feb 2001 10:08:04 -0500, you wrote:
> 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.
Try to boot in single user mode (boot -s). I'm unsure if the shell entry for
root is used in single user mode (nailed down to /sbin/sh), just for cases like
this, so give it a try.
mfg
Dipl.-Ing. Frank-Christian Krgel
IstDa Kommunikationssysteme
More information about the SunHELP
mailing list