#!/bin/sh - getent group lighttpd || groupadd -r lighttpd if [ -z "`getent passwd named`" ]; then useradd -g lighttpd -d /var/www/lighttpd -s /bin/false lighttpd passwd -l lighttpd fi chown lighttpd:wheel /var/log/lighttpd /var/lib/lighttpd