OMG, is this ever a heinous bug. I was trying to reconcile users between
two boxes, and so changing their UID's, including mine.

The stupid thing drops into a shell and tells me to edit a file which I
can now not get to, and since Ubuntu does the root=no password thing, I
am now locked out of fixing things. I'm going to have to take a server
down and boot it with a rescue disk so I can change the file and regain
access.

This is on a 9.04 box.


hack...@gerbils:/exports/homes$ sudo vipw
You have modified /etc/passwd.
You may need to modify /etc/shadow for consistency.
Please use the command `vipw -s' to do so.
hack...@gerbils:/exports/homes$ sudo vipw -s
sudo: uid 1000 does not exist in the passwd file!
hack...@gerbils:/exports/homes$ su
hack...@gerbils:/exports/homes$ su -
hack...@gerbils:/exports/homes$ ssh r...@gerbils
You don't exist, go away!


vipw didn't used to be this dumb, what changed?

-- 
vipw doesn't ask to change shadow file
https://bugs.launchpad.net/bugs/338423
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to