I have a development machine with LAMP setup. Several developers would access the machine from time to time. Every time they make some change in a configuration file they will need to restart the apache server using
sudo service apache restart or
sudo /etc/init.d/apache2 restart
What I want now is that every developer who accesses the machine does not have a sudo access to everything. Rather, he/she should only be able to run the
service command using sudo and nothing else. Is it possible to do that?