JohnHancock
New Member
Hello,
I was wondering about PAM.
If I add in the common-passwd file (in /etc/pam.d) the module cracklib (password policy), it applies
on all services that use PAM right?
So when I make a "adduser XXX", I notice that indeed, the module is well loaded and my password policy
applied.
I just don't understand when and where the use of PAM with the adduser service is specified.
If I take the example of the sshd_config file for SSH, it is defined "USEPAM YES". But when I look at
the adduser config files, nowhere is specified the use of PAM so I was wondering how does it work ? How to activate/deactivate PAM for adduser the same way we would do for SSH?
Thank you in advance
I was wondering about PAM.
If I add in the common-passwd file (in /etc/pam.d) the module cracklib (password policy), it applies
on all services that use PAM right?
So when I make a "adduser XXX", I notice that indeed, the module is well loaded and my password policy
applied.
I just don't understand when and where the use of PAM with the adduser service is specified.
If I take the example of the sshd_config file for SSH, it is defined "USEPAM YES". But when I look at
the adduser config files, nowhere is specified the use of PAM so I was wondering how does it work ? How to activate/deactivate PAM for adduser the same way we would do for SSH?
Thank you in advance