Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jul 2007 16:13:11 -0400
From:      John Nielsen <lists@jnielsen.net>
To:        freebsd-questions@freebsd.org
Cc:        Jean-Paul Natola <jnatola@familycareintl.org>
Subject:   Re: password failure- after mergmaster
Message-ID:  <200707091613.12181.lists@jnielsen.net>
In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9702CFD@www.fcimail.org>
References:  <3A85D7EF44E1C744BF6434691F5659E9702CFD@www.fcimail.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 09 July 2007 04:06:01 pm Jean-Paul Natola wrote:
> OOOPSS-
>
> I got mergemaster to run- but now that the system restarted the root
> password and my password are invalid-
>
> I can ONLY start in single user mode-
>
> I still do have level 0 dump of 5.4  on my network is this my only option
> ?

It's always wise to back up /etc before running mergemaster to cover just t=
his=20
type of mistake. In this case I'm guessing you replaced=20
your /etc/master.passwd with the default one.

=46rom single-user mode, set the root password using the "passwd" utility.

You will probably need to re-add your user account and any others that aren=
't=20
part of the system default. I would grab /etc/master.passwd from your backu=
p=20
and do a line-by-line comparison with the file currently installed on your=
=20
system. When re-adding users, be sure to use the same UID's and GID's so th=
at=20
file permissions will be correct. See man pw for details.

Alternatively, you could replace /etc/master.passwd with the copy from your=
=20
backup and run mergemaster again. This time pay attention and actually merg=
e=20
the file.

JN



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707091613.12181.lists>