Site Tools


linux:general:sudoers

Table of Contents

This is an old revision of the document!


Sudoers

Configuration

In “/etc/sudoers”

#allow user "user1" to become root via "sudo su -"
user1 ALL=(ALL) NOPASSWD: ALL

#allow user "nagios" to execute the script "check_fail2ban" with root privileges
nagios        ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_fail2ban



linux/general/sudoers.1552128300.txt.gz · Last modified: 2019/03/09 11:45 by lunetikk