LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   passwd: Module is unknown (https://www.linuxquestions.org/questions/linux-newbie-8/passwd-module-is-unknown-640180/)

al8877 05-05-2008 10:22 PM

passwd: Module is unknown
 
Hi guys, I need some help here.
I am trying to change my password using the passwd command but I am getting this error:

passwd:Module is unknown

When I tail the /var/log/messages I get the following errors:

passwd[26828]: PAM unable to dlopen /lib/security/pam_stack.so): /lib/security/pam_stack.so: cannot open shared object file: No such file or directory
passwd[26828]: PAM adding faulty module: /lib/security/pam_stack.so
passwd[26828]: User myuser: Module is unknown


I am able to use the SU command to switch to any user but it will cause the following message in /var/log/messages

su: PAM unable to dlopen(/lib/security/pam_rootok.so): /lib/security/pam_rootok.so: undefined symbol: checkPasswdAccess
su: PAM adding faulty module: /lib/security/pam_rootok.so


Can someone assist please. Thanks.

billymayday 05-05-2008 10:31 PM

What distro are you using. Did any of this stuff ever work, is it a new install, did you just update something? Etc.

eggixyz 05-05-2008 11:10 PM

Off the top of my head, not sure what you're running,

Check out /etc/pam.d (or do man pam.d or man pam to find the location of the config files). There should some auth and login files in there. If the entries in here don't correspond with what's on your system, that might be causing your issue.

Best wishes,

Mike

al8877 05-05-2008 11:38 PM

I am running openSuSE 9.2.
This has been running for months without any issue.
This happened only today.

eggixyz 05-07-2008 01:58 AM

Hey there,

Did anyone modify anything having to do with pam or the OS (security updates/patches/improvements)? If it just started happening, it's likely that something got changed.

, Mike


All times are GMT -5. The time now is 01:12 PM.