Date: Sun, 09 Sep 2001 19:36:50 +0200 From: Christoph Sold <so@i-clue.de> To: Nathan Vingoe <nathan_vingoe@hotmail.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Passwd file corupt Message-ID: <3B9BA8B2.9080804@i-clue.de> References: <F105P8hTugenpxqmqhh0000cf57@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Nathan Vingoe wrote: > Help > > While adding a new user to my server, It crashed.. > > we have got it all coming back up again, but it seems the passwd file > in the /etc folder is now corrup. > > we can therfore only log into single user mode. > > how do we > > 1. get it so we can write to the disk, as it seems to be in read only > mode. Re-mount your disks read-write by issuing mount -a -w in single user mode. > > > 2. regenerate the passwd file or what do we need to re generste? - we > have got the master.passwd and it seems intact, although, I have never > been in there before.. copy /etc/master.passwd to /etc/passwd, then replace all encrypted password fields by *. HTH -Christoph Sold 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?3B9BA8B2.9080804>