-
-
Save djanatyn/8c5a4c557a1eab537a93 to your computer and use it in GitHub Desktop.
This file contains 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
[jstrickland@ip-10-129-13-52]~% sudo ./migration_sudoers jstrickland | |
[sudo] password for jstrickland: | |
successfully added rsync permissions for jstrickland! | |
[jstrickland@ip-10-129-13-52]~% sudo ./migration_sudoers jstrickland | |
user found in sudoers, exiting. | |
[jstrickland@ip-10-129-13-52]~% sudo ./migration_sudoers rlpowell | |
successfully added rsync permissions for rlpowell! | |
[jstrickland@ip-10-129-13-52]~% sudo cat /etc/sudoers | tail -n 3 | |
#includedir /etc/sudoers.puppet.d | |
jstrickland ALL = (ALL) NOPASSWD: /usr/bin/rsync | |
rlpowell ALL = (ALL) NOPASSWD: /usr/bin/rsync | |
[jstrickland@ip-10-129-13-52]~% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment