Site Tools


linux:general:sudoers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:general:sudoers [2019/03/09 11:44] – created lunetikklinux:general:sudoers [2022/08/31 10:19] (current) lunetikk
Line 8: Line 8:
 user1 ALL=(ALL) NOPASSWD: ALL user1 ALL=(ALL) NOPASSWD: ALL
  
-#allow user "nagios" to execute the script "check_fail2ban" with root priviledges+#allow user "nagios" to execute the script "check_fail2ban" with root privileges
 nagios        ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_fail2ban nagios        ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_fail2ban
 </code> </code>
  
 +==== Security ====
 +
 +Be aware of which binarys you allow for specific users, some of them can be abused to get a rootshell.
 +
 +[[https://gtfobins.github.io/|GTFOBins]]
 \\ \\
 \\ \\
 ~~DISCUSSION:closed~~ ~~DISCUSSION:closed~~
linux/general/sudoers.1552128263.txt.gz · Last modified: 2019/03/09 11:44 by lunetikk