Re: Summary: How to fix root entry of passw

From: Mike Miller Jr. (mke@netcom.com)
Date: Thu Apr 14 1994 - 17:25:34 CDT


rhh@jolt.att.com (Robert Hu) writes:

 # I did the same thing a while back. If your machine allows it, try to ftp into it
 # as root. Your can then either put in a new version of /etc/passwd or create the
 # misstyped directory and put in a copy of shell.

Hmm, not sure this would work. Under sunos if the users shell isn't
in /etc/shells (or bourn/csh if there is no etc/shells) the user can't
login.

 # Robert Hu
 # -----------------------------------------------------------------------------------------------

 # In article 94Apr13204116@se05.wg2.waii.com, dla@se05.wg2.waii.com (Doug Acker) writes:
 # > >>>>> "Ning" == Ning Qian <qian@peduncle.ai.mit.edu> writes:
 # > In article <2ohov1INN330@life.ai.mit.edu> qian@peduncle.ai.mit.edu (Ning Qian) writes:
 # >
 # >
 # > Ning> It might be simpler to boot to single user mode with the
 # > Ning> command "boot cdrom -s" as suggested by several people but I
 # > Ning> didn't get a chance to use it.
 # >
 # >
 # > That won't work .. under Solaris 2.3, single user mode asks for the password.

Actually, all you have to do is boot from the cdrom, start a command
tool, mount the HD root partition and edit the file. Works fine. I've
had to do it myself. :-)

-- 
	"The flag is cool, but what about the bill of rights?"
mke@netcom.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:59 CDT