Closed linuxdan closed 6 years ago
Found my own answers: https://serverfault.com/questions/658966/configuring-pam-with-augeas /files/etc/pam.d//argument[.='nullok']
But I will be using /files/etc/pam.d/password-auth-ac//argument[.='nullok'] and /files/etc/pam.d/system-auth-ac//argument[.='nullok'] because those are the only two that the STIG cares about !
Is it possible to remove a specific argument ("nullok") from multiple lines in a file ?
As in /etc/pam.d/password-auth-ac and /etc/pam.d/system-auth-ac