password failure- after mergmaster
John Nielsen
lists at jnielsen.net
Mon Jul 9 20:13:47 UTC 2007
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 this
type of mistake. In this case I'm guessing you replaced
your /etc/master.passwd with the default one.
From 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
part of the system default. I would grab /etc/master.passwd from your backup
and do a line-by-line comparison with the file currently installed on your
system. When re-adding users, be sure to use the same UID's and GID's so that
file permissions will be correct. See man pw for details.
Alternatively, you could replace /etc/master.passwd with the copy from your
backup and run mergemaster again. This time pay attention and actually merge
the file.
JN
More information about the freebsd-questions
mailing list