View previous topic :: View next topic |
Author |
Message |
malkaven n00b
Joined: 16 Aug 2005 Posts: 37
|
Posted: Fri Dec 11, 2009 8:16 pm Post subject: PAM Modules |
|
|
Hello,
Hopefully this is an easy question/fix. I'm looking for an ebuild with extra PAM modules...mainly pam_unix2.so
I tried using emerge pamd and it doesn't give me that module.
End goal is trying to enforce a password policy for everyone requiring special charactors |
|
Back to top |
|
|
malkaven n00b
Joined: 16 Aug 2005 Posts: 37
|
Posted: Fri Dec 11, 2009 8:23 pm Post subject: |
|
|
Here is my /etc/pam.d/passwd
account required pam_unix2.so
account required pam_tally.so per_user deny=5 no_magic_root reset
password required pam_passwdqc.so retry=5 ask_oldauthtok check_oldauthtok mi$
password required pam_pwcheck.so use_first_pass use_authtok
password required pam_unix2.so use_first_pass use_authtok
session required pam_unix2.so
When I run 'passwd' it gives a "Module is unknown" error |
|
Back to top |
|
|
malkaven n00b
Joined: 16 Aug 2005 Posts: 37
|
Posted: Fri Dec 11, 2009 8:37 pm Post subject: |
|
|
*Update*
I checked /lib64/security/ and Im missing the pam_unix2.so and pam_pwcheck.so. So i'm assuming when I get those modules my errors goes away? Is there an ebaild with the modules in it or some kind different work around? |
|
Back to top |
|
|
|