ACC SHELL
/**
* File: etc_security.scr
* Summary: Agent for reading/writing /etc/security/pam_*.conf
* Access: read / write
* Author: Jiri Suchomel <jsuchome@suse.cz>
*
* Example:
* Dir(.etc.security.section)
* (["/etc/security/pam_pwcheck.conf", "/etc/security/pam_unix2.conf"])
**
* Read(.etc.security.v."/etc/security/pam_pwcheck.conf".password)
* (["nullok", "cracklib")
**
* Write(.etc.security.v."/etc/security/pam_pwcheck.conf".password,
* "cracklib md5")
* (true)
*
* $Id: etc_security.scr 17801 2004-06-11 13:29:11Z jsuchome $
*/
.etc.security
`ag_ini(
`IniAgent(
[ "/etc/security/pam_pwcheck.conf", "/etc/security/pam_unix2.conf" ],
$[
"options" : [ "global_values"],
"comments" : [ "^#.*", "^[ \t]*$", ],
"params" : [
$[ "match" : [ "^[ \t]*([a-zA-Z0-9_]+)[ \t]*:[ \t]*(.*[^ \t]|)[ \t]*$", "%s:\t%s" ] ]
]
]
)
)
ACC SHELL 2018