accidently deleted user "www"

Mikko Työläjärvi mbsd at pacbell.net
Sun Jun 22 17:20:50 PDT 2003


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


More information about the freebsd-questions mailing list