[Tfug] Ubuntu password
John Gruenenfelder
johng at as.arizona.edu
Fri Jul 25 14:43:37 MST 2008
On Fri, Jul 25, 2008 at 02:24:43PM -0700, Matthew T. Eskes wrote:
> Just boot into single user and delete /etc/passwd
I've not tried it, but isn't this a monumentally bad idea?
/etc/passwd doesn't store a user's password, but rather the details of the
account itself. It also defines all system users on the machine as well.
Passwords are stored in /etc/shadow, but I don't think you should delete that
either. If you delete /etc/passwd there won't be any record of your user
account (uid, name, shell) thus making the entries in /etc/shadow and
/etc/group meaningless.
Unless Ubuntu has some sort of fallback boot check for this sort of thing?
--
--John Gruenenfelder Research Assistant, UMass Amherst student
Systems Manager, MKS Imaging Technology, LLC.
Try Weasel Reader for PalmOS -- http://weaselreader.org
"This is the most fun I've had without being drenched in the blood
of my enemies!"
--Sam of Sam & Max
More information about the tfug
mailing list