[Techtalk] sudo

Lana Brindley lbrindle at redhat.com
Tue Mar 3 23:23:07 UTC 2009


Wolf Rising wrote:
> Is it possible with sudo to give a single user the ability to run
> /etc/init.d/httpd reload
> and no other sudo privileges?
> 
> Thanks!

edit /etc/sudoers and add the line:

username ALL=/etc/init.d/httpd reload

(I think! I haven't tested that command though)

Best of luck,
Lana


More information about the Techtalk mailing list