1

I want to change algorithm for password encryption in Solaris 10 server. When I change CRYPT_DEFAULT option from __unix __ to 6, I can not change my old password with passwd command and I get following error message:

ld.so.1: passwd: fatal: libnspr4.so: open failed: No such file or directory
ld.so.1: passwd: fatal: relocation error: file /usr/lib/libldap.so.5: symbol PR_Initialized: referenced symbol not found
killed

How I can solve this problem?

  • Sorry to ask the obvious - is your account definitely local to the server? Does pam.conf refer to ldap? – Andy May 6 '15 at 9:01
  • Yes, it is. What's your mean about pam.conf? – Gohar May 6 '15 at 10:20
1

As the error message states, your installation is missing a file (or a whole package). The following lines will sort it out.

ls -l /usr/lib/mps/libnspr4.so
grep libnspr4.so /var/sadm/install/contents
pkgchk SUNWpr

If SUNWpr is not installed, you need to add it with running

pkgadd -d . SUNWpr

from an installation media directory.

  • /usr/lib/mps/libnspr4.so is not exist!!! Do I need to install this library? How? – Gohar May 12 '15 at 4:54
  • Please run the commands I posted and tell what they display. – jlliagre May 12 '15 at 5:59
  • output of ls -l is: /usr/lib/mps/libnspr4.so: No such file or directory, second command has not any output and third command has "WARNING: Package <SUNWpr> is installed but empty" output. – Gohar May 13 '15 at 7:04
  • 1
    Remove what remains from this package (pkgrm SUNWpr) then reinstall it. – jlliagre May 13 '15 at 7:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.