Last active
August 29, 2015 14:04
-
-
Save raphink/f0756d5e4e1ec3b8d996 to your computer and use it in GitHub Desktop.
Augeas for aurynn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setting up !requiretty | |
augtool> touch /files/etc/sudoers/Defaults[last()]/requiretty/negate | |
# For a user alias, the best is to use a variable with defnode | |
augtool> defnode alias /files/etc/sudoers/User_Alias/alias/name "EXAMPLE_ADMINS" | |
augtool> set $alias/../user "cslack" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment