Linux technical support - support@alexlinux.com


visudo

allow restart apache for all users

ALL     ALL=NOPASSWD: /usr/sbin/service apache2 restart

allow sudo commands without password for user

alex     ALL=NOPASSWD: ALL

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>