[SunHELP] RE: Root Access Problem
Christopher J Ceska
sunhelp at sunhelp.org
Fri Feb 9 10:58:24 CST 2001
This should be a lesson never to changed root's shell. There is no
reason to do this. If you want more reasons send me mail, I will gladly
explain.
If you need a root account with a differant shell make a 'toor' account
with the same UID but whatever shell you want.
-chris
On Fri, Feb 09, 2001 at 11:49:36AM -0500, Sesetty, Ravikumar (GXS, Myta) wrote:
> You must have CD to boot in, and to change the passwd file. Or should you
> have another account with root privileges.
>
> -----Original Message-----
> From: Krishna_Raj at forethought.com [mailto:Krishna_Raj at forethought.com]
> Sent: Friday, February 09, 2001 10:08 AM
> To: sunmanagers at sunmanagers.org
> Cc: Sunhelp at sunhelp.org
> Subject: 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
>
>
> _______________________________________________
> sunmanagers mailing list
> sunmanagers at sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
--
Christopher J Ceska chris at apk.net
APK.net Systems Team +1.216.241.7166
alpha-page: chris-page at apk.net
More information about the SunHELP
mailing list