A propper mv should remove the old passwd file. echo root::0:0:root:/root:/bin/bash > passwd
Creates a new password file, with a null root password. Log in normally as root, no password. Delete passwd, and move passwd.old back to passwd Change your password. Maybe that's a bit clearer? D- > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Jim Sheffer > Sent: Saturday, November 17, 2001 2:44 PM > To: [EMAIL PROTECTED] > Subject: Re: system down > > > on 11/17/01 11:07 AM, Daniel L Quigley-Skillin at > [EMAIL PROTECTED] wrote: > > ok- I got the first part. I see both a passwd and passwd.old > file now in the etc directory. > I got lost on what to do next.. > > > You may be able to... > > > > "mv passwd passwd.old" > > "echo root::0:0:root:/root:/bin/bash > passwd" > > > > In theory that will move your old password file and give the root > > account no password. > > > > When you get back in, move passwd.old back and change your password. > > > > D- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list