Re: [ilugd] lock corrupt passwd file

2007-08-17 Thread Linux Lingam
On 8/17/07, Rakesh Pandit <[EMAIL PROTECTED]> wrote: > 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! > > whew! that worked allright. thanks so much rakesh. :-) incidentally,

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 http://frodo.hseru

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 delet

Re: [ilugd] lock corrupt passwd file

2007-08-17 Thread Rakesh Pandit
Hello, > 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 line. You

Re: [ilugd] lock corrupt passwd file

2007-08-17 Thread Linux Lingam
thanks rakesh and gora for your assistance. my comments below: On 8/17/07, Gora Mohanty <[EMAIL PROTECTED]> wrote: > What do you mean by root password "no longer > working". What did you try, and what happens. booted into fiesty normally using my username and password at login, and resumed my no

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". W

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 ha

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 corr