Sudoers December 23, 2015Centos To give a user rights on a root privileged command: vi /etc/sudoers <USER> ALL = NOPASSWD: /bin/systemctl restart httpd Now the user could restart the httpd deamon: sudo systemctl restart httpd