Skip to content

Instantly share code, notes, and snippets.

@ormaaj
Created August 12, 2025 10:43
Show Gist options
  • Select an option

  • Save ormaaj/0e238980b2409296c4a0360f7479091d to your computer and use it in GitHub Desktop.

Select an option

Save ormaaj/0e238980b2409296c4a0360f7479091d to your computer and use it in GitHub Desktop.
sudoers
# /etc/sudoers
Defaults !pam_session
Defaults !pam_setcred
Defaults !use_pty
Defaults fdexec
Defaults closefrom_override
Defaults targetpw
root ALL=(ALL:ALL) ALL
ALL ALL=(ALL:ALL) ALL
@includedir /etc/sudoers.d
# vim: set ft=sudosers fenc=utf-8 ff=unix ts=4 sw=4 noet :
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment