Date: Wed, 26 Jun 2002 19:39:24 -0800 From: Beech Rintoul <akbeech@sinbad.net> To: Jaime <jaime@snowmoon.com>, "Kirk R.Wythers" <kwythers@umn.edu> Cc: freebsd-questions@freebsd.org Subject: Re: 4.5 - >4.6 stable, lost users and passwords Message-ID: <20020627033925.7B9492C4@nebula.anchoragerescue.org> In-Reply-To: <20020626223956.A4955-100000@malkav.snowmoon.com> References: <20020626223956.A4955-100000@malkav.snowmoon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 26 June 2002 06:42 pm, Jaime wrote: > On Wed, 26 Jun 2002, Kirk R.Wythers wrote: > > I just did the whole cvsup, make world, mergemaster thing... So far as I > > can tell, all of my user files in ~/ are there (single user workstation), > > but I my username is not recognized, and I can't su to root. If I login > > as root, no password is required. I'm not at the machine in question > > right now, but as I am writing this it seems as if the password file is > > gone (I may have messed up with mergemaster). > > Sounds like your /etc/group and /etc/master.passwd and /etc/passwd > files were replaced with the "new install" defaults. Either (a) repalce > them with your originals from some backups and read /usr/src/UPDATING very > closely for entries replating to the sendmail changes or just login as > root, use passwd to set a new root password, add your own account to > /etc/group in the line that begins with "wheel", use adduser to re-create > your account, etc. > > Good luck, > Jaime > Copy /var/backups/master.passwd.bak to /etc/master.passwd Copy /var/backups/group.bak to /etc/group run pwd_mkdb You should be back in business. Beech -- ------------------------------------------------------------------- Beech Rintoul - SysAdmin - akbeech@sinbad.net /"\ ASCII Ribbon Campaign | Sinbad Network Communications \ / - NO HTML/RTF in e-mail | 3101 Penland Parkway #K-38 X - NO Word docs in e-mail | Anchorage, AK 99508-1957 / \ ----------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020627033925.7B9492C4>