User Tools

Site Tools


linux:general:sudoers

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.txt · Last modified: 2019/03/09 11:45 by lunetikk