Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I see inside config file the option to start server with certain username/group i.e.:

User c0mrade Group c0m

Now if I start the server with my username, nobody can stop it except me. How can I configure server that is startable/stopable by certain other users or groups as well?

Thanks

share|improve this question

1 Answer 1

up vote 1 down vote accepted
  1. Add these users to sudo group
  2. Make sure there is line in /etc/sudoers like %sudo ALL=(ALL:ALL) ALL
  3. Under normal user execute sudo /etc/init.d/your-httpd [stop|start|restart]
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.