Operating System - Linux
1822158 Members
3543 Online
109640 Solutions
New Discussion юеВ

Unable to change password

 
SOLVED
Go to solution
hangyu
Regular Advisor

Unable to change password

I have newly created a new user id on RH linux , when I try to change the password by "passwd userid" , it pop the below error , can advise what is wrong ? thx.


passwd ora_usr
Changing password for user ora_usr.
passwd: Module is unknown





my /var/log/messages


Oct 3 12:06:03 ora_srv passwd: PAM unable to dlopen(/lib/security/default=bad
success=ok user_unknown=ignore service_err=ignore system_err=ignore)
Oct 3 12:06:03 ora_srv passwd: PAM [dlerror: /lib/security/default=bad succes
s=ok user_unknown=ignore service_err=ignore system_err=ignore: cannot open share
d object file: No such file or directory]
Oct 3 12:06:03 ora_srv passwd: PAM adding faulty module: /lib/security/defaul
t=bad success=ok user_unknown=ignore service_err=ignore system_err=ignore
Oct 3 12:06:03 ora_srv passwd: PAM unable to dlopen(/lib/security/pam_crackli
b.so)
Oct 3 12:06:03 ora_srv passwd: PAM [dlerror: libcrack.so.2: cannot open share
d object file: Input/output error]
Oct 3 12:06:03 ora_srv passwd: PAM adding faulty module: /lib/security/pam_cr
acklib.so
3 REPLIES 3
Vipulinux
Respected Contributor
Solution

Re: Unable to change password

Hi

You have a missing package.

liblaus

add this and give it a shot.

Cheers
Ivan Ferreira
Honored Contributor

Re: Unable to change password

It looks like the pam_cracklib.so file can't be openned. Ensure that the pam files are correct by using:

rpm -V pam

I see input/output error, if the file exists, check if you can read its contents:

strings /lib/security/pam_cracklib.so

If you get I/O error, maybe some corruption exists.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: Unable to change password

shalom,

I think Ivan is right and you can re-install pam or cracklib to fix this.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com