[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
replaced /etc/pwd.db remotely
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: replaced /etc/pwd.db remotely
- From: Jeff Quast <af_(_dot_)_dingo_(_at_)_gmail_(_dot_)_com>
- Date: Fri, 15 Apr 2005 09:37:40 -0400
- Reply-to: Jeff Quast <af_(_dot_)_dingo_(_at_)_gmail_(_dot_)_com>
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?
woops! so now of course, i get this:
sudo: uid 1000 does not exist in the passwd file!
su: who are you?
any ideas? I'm remote.
Visit your host, monkey.org