You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But each puppet-run the first block get applied (preauth) and then the second one corrects the first one (authfail). So in the end, I only have this line:
Compare is only done by service, type, module and control. It doesn't look at the parameters. So if those 4 are the same but the arguments differ, the above happens.
I have a workaround, which is to have Puppet put the 2nd rule in a new service file, e.g., 'service => password-auth-custom', and then include that service in the main password-auth config, e.g.:
...
service => 'password-auth',
type => 'auth',
control => 'include',
module => 'password-auth-custom',
...
I'm trying to accomplish this in
/etc/pam.d/password-auth
:And i'm using this code:
But each puppet-run the first block get applied (preauth) and then the second one corrects the first one (authfail). So in the end, I only have this line:
Am I missing something?
I've also tried changed
ensure => present
toensure => positioned
and adding a position, but that didn't work either.I gave the top block this position:
And the bottom one this:
But the result is the same.
Any ideas or suggestions would be helpfull.
The text was updated successfully, but these errors were encountered: