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-
> 
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]] On Behalf Of Jim Sheffer
>> Sent: Saturday, November 17, 2001 1:53 PM
>> To: [EMAIL PROTECTED]
>> Subject: Re: system down
>> 
>> 
>> OK- I can do both linux single and linux rescue.  I can see
>> the file /etc/passwd, but can't edit it
>> vi won't run.
>> I get bash#
>> then I try to run vi and get a
>> sh: vi: command not found
>> 
>> I've been up all nioght at this and need to at the very least
>> get some files off this computer before I go home... Thanks
>> for all your helpl!
>> 
>> Jim
>> 
>> 
>> 
>> on 11/17/01 7:51 AM, Mark Neidorff at [EMAIL PROTECTED] wrote:
>> 
>>> that's what:
>>> 
>>> lilo: linux single
>>> 
>>> is designed to fix.  Boot into single user, then use vi to edit
>>> /etc/passwd (or whatever the system uses) and remove the root
>>> password. Then use passwd to set a new one.
>>> 
>>> On Sat, 17 Nov 2001, Mike Burger wrote:
>>> 
>>>> That's the problem...he can't log in as root...somehow, the root
>>>> password got munged.
>>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Redhat-list mailing list
>>> [EMAIL PROTECTED]
>>> https://listman.redhat.com/mailman/listinfo/redhat-list
>> 
>> Jim
>> 
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to