ACC SHELL
/**
* File:
* sudo.scr
* Summary:
* SCR Agent for reading/writing /etc/sudoers
* Access:
* read/write
* Authors:
* Bubli <kmachalkova@suse.cz>
* Example:
*
* Read(.sudo)
* ([
* ["#We let root and any user in group wheel run any command on any host as any user.\n", "root", "ALL", "(ALL) ALL"],
* ["", "%wheel", "ALL", "(ALL) ALL"]
* ]
* )
* Write(.sudo, [ ["#first rule", "user", "HOST", "rule1"], ["#second rule", "otheruser", "HOST", "rule2"] ])
* (true)
*
* $Id: sudo.scr 11113 2005-10-20 14:15:16Z kmachalkova $
*
* Read returns and Write accepts list of lists of strings, ordered as follows:
# ["comment to this rule or alias", username | keyword, hostname | alias name, rule | csv list ]
* Fore more information about possible keywords, aliases and values
* consult with the sudoers man pages `man sudoers`.
*/
.sudo
`ag_etc_sudoers ()
ACC SHELL 2018