Complete.Org: Mailing Lists: Archives: linux-help: May 2001:
[linux-help] Re: forget root password
Home

[linux-help] Re: forget root password

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: linux-help@xxxxxxxxx
Subject: [linux-help] Re: forget root password
From: Abdul Basit <basit@xxxxxxxxxxxx>
Date: Sun, 20 May 2001 06:24:47 +0500 (PKT)
Reply-to: linux-help@xxxxxxxxx

the root line in /etc/passwd must have :x: like 
root:x:0:0:root:/root:/bin/bash    
so it will look in shadow file 
else it will not ..
please try to put :x:
and try to login with your pass then 

basit

-- 
Sex is better than Logic.
But I can't prove it !



On Sat, 19 May 2001, j m wagle wrote:

> 
> thanks for your reply, the following is what transpires
> 
> I boot : linux 1
> .. starting single user mode..
> 
> I enter:
> passwd root
> the system replies:
> New UNIX password:
> I enter xxxxxx,
> the system replies:
> Retype new UNIX password:
> I enter xxxxxx (same as above),
> the system replies:
> password: all authentication tokens updated successfully.
> I "exit" single user mode by entering:
> exit.
> ....
> 
> the system 'reboots' and then responds:
> Login:
> I enter:
> root
> the system replies:
> Password:
> I enter: xxxxxx (same as above),
> the system replies:
> Login incorrect.
> 
> Please note:
> I can successfully change other 'user ids's passwords following the
> above procedures,
> I have also tried the above procedure without specifying "root" (using
> the 'default').
> Note: i have included the first line of my /etc/passwd file:
> root::0:0:root:/root:/bin/bash
> 
> thanks for your help,
> mw wichita
> 
> 
> Abdul Basit wrote:
> 
> > can you tell me the error message
> > what error passwd gives if you try to
> > issue passwd root
> > and then supply pass for 2 times
> > while being in super user mode
> >
> > basit
> >
> > On Sat, 19 May 2001, j m wagle wrote:

-- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi


[Prev in Thread] Current Thread [Next in Thread]