-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow Runas specification to be optional
The Runas_Spec is an optional statement in sudo configuration [1]: > If no Runas_Spec is specified, the command may only be run as the > runas_default user (root by default) and the group, if specified, > must be one that the runas_default user is a member of. This commit allows omitting the 'as:' in the role's 'sudo_list*[].sudo' list mappings. [1]: https://www.sudo.ws/docs/man/1.9.15/sudoers.man/#Runas_Spec
- Loading branch information
1 parent
3d1744f
commit 3dd512f
Showing
3 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
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
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
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