Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Jan 2019 09:30:41 -0800
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        White Wizard <white-wizard@ovh.fr>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: config files break after mergemaster -Ui
Message-ID:  <201901061730.x06HUfRO018297@slippy.cwsent.com>
In-Reply-To: Message from White Wizard <white-wizard@ovh.fr> of "Sun, 06 Jan 2019 16:59:02 %2B0100." <f265637965226ad0ac008c5c05fcfc78643c7b89.camel@ovh.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <f265637965226ad0ac008c5c05fcfc78643c7b89.camel@ovh.fr>, 
White Wizar
d writes:
> Hi,
> i break my config file, peraps /etc/group when un mergemaster.
> No concentrate to that i do and ask bad anwsers.

If it's simply group, then /usr/src/etc/group would be your starting 
point.

>
> How can i re-install défault config files ? Now i just single user's
> access. When i try to login root, before pass's ask the system say me
> invalid login...

Sounds like /etc/passwd also got hosed.

While single user, try the -s option of mergemaster. This compares each 
file line by line instead of the SVN revision number.

This assumes that /etc actually exists and assumes that your root 
filesystem is, except for this, generally ok. It's suggested that you 
ascertain the state of the filesystem first and nothing else is missing 
or damaged before attempting any further recovery.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.





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