Displaying 1 result from an estimated 1 matches for "2bpam".
Did you mean:
27am
2011 Aug 05
0
augeas modify pam.d argument by relative position
...d have scripted something in perl in our kickstart
%post script to switch that particular "500" to be "100".
Using this excellent past thread as a guide:
http://groups.google.com/group/puppet-users/browse_thread/thread/ab96038a5658ec98/cb0c0beb8cd5418b?lnk=gst&q=augeas+%2Bpam#cb0c0beb8cd5418b
I can match the line in question in augtool with:
print /files/etc/pam.d/password-auth-ac/*[type = "auth"][module = "pam_succeed_if.so"]
/files/etc/pam.d/password-auth-ac/3
/files/etc/pam.d/password-auth-ac/3/type = "auth"
/files/etc/pam.d/passwor...