[SunHELP] Root Access Problem

William W. Arnold sunhelp at sunhelp.org
Fri Feb 9 10:18:22 CST 2001


Krishna_Raj at forethought.com writes ---
>     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.

You're screwed.

You need either
  1) a root shell already open or a root security hole you can exploit.
  2) an OS CD/bootable media

-- 
-billy-  warnold at vipnet.org



More information about the SunHELP mailing list