Hi, I'm trying to give a user the ability to create new websites and have placed a config file in his home directory and included it in lighttpd.conf. I now need to allow him to issue /etc/init.d/lighttpd restart but don't know how to do this. /etc/init.d/lighttpd seems to be ok to run, but the pid file in /var/run can't be created. Do I need to alter permissions on /var/run or would this be a security problem?
Which distribution do you use? What's the exact error message you get? Have you tried Code: sudo /etc/init.d/lighttpd restart ?