To fix it for now, you can remove the x in the passwd file for root,
root:x:0:0:.......
becomes
root::0:0:.....

This will give you NO root password.  You could then try logging in and 
running passwd to create a new one.  Or you can put the hash into 
/etc/passwd directly, not shadow, instead of where the x is:
root:(hash goes here):0:0:...

Rob

[EMAIL PROTECTED] wrote:

>On  3 Apr, Tiwari, Rajnish wrote:
>
>>      At the login: prompt on the console, when I type in root, I get 
>>      another login: prompt back !! No prompt for password nor a  
>>      error message (nor a successful login).  
>>  
>>      Yes, there is a root user account, and a password. (Checked it 
>>      by booting of CDROM, chosing 'linux rescue' at the prompt and 
>>      checking the installation under /mnt/sysimage/...). 
>>
>
>I had a similar problem with RH 7.2 - one of the accounts I created
>couldn't login.  A friend told me that the old-style crypt password
>stuff had been broken, and that the easiest thing to do was to change
>over to the newer-style passwords.  (Old style has 8 character maximum
>significance, newer style has much more.)
>
>Sorry I can't remember any more details than that.  Did you choose the
>older style of password when you installed?  If you did, it's probably
>that.  (For me, 2 out of the 3 accounts could login, and one couldn't.)
>
>I also had that problem after forcing the install of a whole set of
>corrupted rpm files.  That caused one of the NIS libraries to make
>programs like "login" dump core.  In fact, that was what led me to
>install 7.2 - I'd just trashed my 7.1 system.  (I lost no user or /etc
>files though, since /home was on a separate partition, as was
>/usr/local, and I copied off /etc before doing the install.)
>
>luke
>


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to