Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2001 14:00:17 +0000
From:      setantae <setantae@submonkey.net>
To:        zietlow@berbee.com
Cc:        questions@freebsd.org
Subject:   Re: Unknown user "root"
Message-ID:  <20011126140017.GB811@rhadamanth>
In-Reply-To: <200111261248.fAQCmK727091@berbee.com>
References:  <200111261248.fAQCmK727091@berbee.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 26, 2001 at 12:48:20PM +0000, zietlow@berbee.com wrote:
> Hi there, this is a weird one. I just did a buildworld and installworld.  I ran 
> mergemaster to update my /etc files.  I accidently hit the m for merge between 
> my existing /etc/master.passwd and the new /etc/master.passwd.  This took out 
> all my user accounts and my root password.  I went and copied the 
> master.passwd.bak from /var/backups.  I went to boot up the computer and I get 
> these two messages "chown: root: illegal user name"  right after the network 
> setup. then when starting inet I get "no such user 'root' service ignored.  I 
> ended up powering down the computer (turned ctl-alt-del off) when I booted back 
> up into single user mode the old /etc/master.passwd was there with the old 
> passwd hashes.

pwd_mkdb /etc/master.passwd

to rebuild the databases.

-- 
keep a mild groove on

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?20011126140017.GB811>