*BSD News Article 76853


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!news-res.gsl.net!news.gsl.net!news.mathworks.com!newsfeed.internetmci.com!in2.uu.net!news-m01.ny.us.ibm.net!news-s01.ny.us.ibm.net!usenet
From: reyes01@ibm.net
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: How to restore /etc/passwd?
Date: 25 Aug 1996 00:37:47 GMT
Lines: 9
Message-ID: <4vo78r$4hje@news-s01.ny.us.ibm.net>
Reply-To: reyes01@ibm.net
NNTP-Posting-Host: slip166-72-219-68.ny.us.ibm.net
X-Newsreader: IBM NewsReader/2 v1.2.5

In preparation to installing 2.15 I backed up /usr/home, /root, and
 the /etc/passwd file. After the installation I tried restoring /etc/passwd
and nothing happened. The rest of the files restored fine. Is it possible
to restore /etc/passwd or is it always in use by the OS? There must
be a way since vipw makes changes to it.

Afterwards I also thought that I should do an adusser (from sysinstall) to
create the UID(?) and the groups. If I was to want to have a comprehensive
backup what system files would I need besides passwd?