Displaying 1 result from an estimated 1 matches for "ac_uidfix".
2011 Aug 05
0
augeas modify pam.d argument by relative position
...00'' are all separate arguments.
I can get puppet to apply my modification if I use an entry like this:
#
# RHEL 6 has a new PAM file that needs to have the nid for "special
# users" adjusted down from 500 to 100.
#
augeas { "pam.d/password-auth-ac_uidfix":
context => ''/files/etc/pam.d/password-auth-ac/*[type = "auth"][module = "pam_succeed_if.so"]'',
changes => [
"set argument[3] 100",
],
onlyif => ''get argument[3] == "5...