Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 1996 05:35:20 -0800
From:      hmmm <hmmm@alaska.net>
To:        Snob Art Genre <brosenga@calvin.pitzer.edu>
Cc:        questions@freebsd.org
Subject:   Re: /etc lock out
Message-ID:  <3289CE98.22F0@alaska.net>
References:  <3289B3FC.68E7@alaska.net> <3287FC42.742A@calvin.pitzer.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Snob Art Genre wrote:
> 
> hmmm wrote:
> >
> > i guess i did something REAL stupid!
> > i changed the following files in /etc:
> >
> > group
> > master.passwd
> > passwd
> > pwd.db
> > spwd.db
> >
> > i think that was all of them.  i did a GREP in /etc on
> > roots real name (and added my last name to all occurences)
> > and did the same to my login/user name.
> >
> > now i'm locked out of my BSD partitions!
> >
> > i get messages before the login prompt for each TCP service
> > saying they will not be started because "root" doesn't exist.
> > i guess that Kerberos stuff uses your REAL name when it
> > encrypts or what ???
> >
> > is there a fix?  or have i really screwed myself? !!!
> > i try to login as root - but my password doesn't work anymore ...
> 
> Do you have a boot disk?  Root password can be changed from sysinstall.

yeah - i already tried that.

but the functions that do that stuff (adduser/root passwd)
don't do anything on the 2.1.5 boot disk ...
any other ideas?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3289CE98.22F0>