[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

replaced /etc/pwd.db remotely



I was building 3.7 from source on 3.6r with no success due to
libstdc++ problems, so I decided to just use snapshots like a good
boy. When i got to etc37.tgz, i wrote a quick script on the cmd line
from the fresh 37 etc dir:
for x in *; do echo "replace /etc/$x with $x?"; read var; if [ "$var"
== "y" ]; then sudo rm -rf /etc/$x; sudo mv -f $x /etc; fi; done

i was doing good for a while, untill...
replace /etc/pwd.db with pwd.db?
y
woops! so now of course, i get this:
$sudo pwd_mkdb
sudo: uid 1000 does not exist in the passwd file!
$su -
su: who are you?

any ideas? I'm remote.



Visit your host, monkey.org