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
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
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
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
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
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