Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dennisotugo/5f66e5fdc1e1ee2c7a556cb43b1d1151 to your computer and use it in GitHub Desktop.
Save dennisotugo/5f66e5fdc1e1ee2c7a556cb43b1d1151 to your computer and use it in GitHub Desktop.
Cmnd_Alias DISALLOW = /usr/bin/passwd, /sbin/service, /bin/kill,/usr/bin/kill, /sbin/chkconfig, /usr/bin/systemctl, /sbin/ifconfig, /sbin/halt, /sbin/shutdown, /sbin/poweroff, /sbin/reboot, /sbin/init, /sbin/iptables, /usr/bin/killall, /usr/sbin/visudo, /bin/chown,/bin/chgrp,/sbin/modprobe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment