Re: [ilugd] lock corrupt passwd file

2007-08-17 Thread Linux Lingam
hi rakesh, then as root, i just ran pwck, here's what i got: invalid shadow password file entry delete line 'root'? As you have changed password so this line is invalid. Now run pwconv to make shadow file. It will append root entry at the end of file and automatically delete that

Re: [ilugd] lock corrupt passwd file

2007-08-17 Thread Rakesh Pandit
Hello, yes, look at the last line in shadow file there must be a root entry. Remove this 'root' line. It was just to remove your earlier password. Go ahead! -- Regards Rakesh ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org

[ilugd] lock corrupt passwd file

2007-08-16 Thread Linux Lingam
a prolonged powerfailure shutdown my computer running ubuntu fiesty in the middle of a task. on reboot, everything seemed to work fine, but my root password is no longer working. a quick 'pwck' command results in pwck: cannot lock file /etc/passwd how do i fix this problem? tia :-) niyam

Re: [ilugd] lock corrupt passwd file

2007-08-16 Thread Rakesh Pandit
Hello niyam, how do i fix this problem? This thread will help http://www.linuxquestions.org/questions/showthread.php?t=146787 If nothing works then using a rescue remove x in line root:x:0:0:root:/root:/bin/bash from file /etc/passwd and if shadow file exist (in case it is not empty or

Re: [ilugd] lock corrupt passwd file

2007-08-16 Thread Rakesh Pandit
Hello, from file /etc/passwd and if shadow file exist (in case it is not empty or corrupted) create it and the line containing root password should be My lines are confusing, typed in hurry :-( You can create shadow file using pwconv if it does not exist. and if it exists remove the line

Re: [ilugd] lock corrupt passwd file

2007-08-16 Thread Gora Mohanty
On Fri, 2007-08-17 at 03:32 +0530, Linux Lingam wrote: a prolonged powerfailure shutdown my computer running ubuntu fiesty in the middle of a task. on reboot, everything seemed to work fine, but my root password is no longer working. What do you mean by root password no longer working. What