Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 2003 17:20:46 -0700 (PDT)
From:      =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= <mbsd@pacbell.net>
To:        Andre <andre@krang.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: accidently deleted user "www"
Message-ID:  <20030622171732.K10158@atlas.home>
In-Reply-To: <003d01c33919$39ef5e20$0f00a8c0@yz123nn123zm128>
References:  <003d01c33919$39ef5e20$0f00a8c0@yz123nn123zm128>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 23 Jun 2003, Andre wrote:

> Hi
>
> i accidently deleted the user "www" and now my apache doesnt
> start. is there a fast way to solve this problem?

Don't do that. :-)

If your machine has been running for a while there should be backups
in /var/backup, so you can do:

 # grep '^www:' /var/backups/master.passwd.bak >> /etc/master.passwd
 # pwd_mkdb -p /etc/master.passwd

   $.02,
   /Mikko



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