You are not logged in.
Hello,
I'm attempting to rehash my passwords using SHA512.
Trying to follow the wiki: https://wiki.archlinux.org/index.php/SH … ord_hashes,
I've made the necessary changes, but trying to change (rehash) passwords fails.
# passwd
passwd: Module is unknown
passwd: password is unchanged
# tail -n 2 /var/log/auth.log
[...] localhost passwd[652]: PAM unable to dlopen(/lib/security/pam.unix.so): /lib/security/pam.unix.so: cannot open shared object file: No such file or directory
[...] localhost passwd[652]: PAM adding faulty module: /lib/security/pam.unix.soChanging back to the default files contents, `passwd` works just fine. `pam.unix.so` appears to be alive and well.
I managed to get this working on another computer, but for some reason it fails now. I used the "2011.08.19" installer (i686), and this is before any system upgrade.
Can anyone point me in the right direction?
Thanks in advance.
EDIT: I made a typo in /etc/pam.d/passwd: as you might notice, I wrote `pam.unix.so` instead of `pam_unix.so`.
Last edited by johndir (2011-11-17 11:36:39)
Offline
i think you misspelled it. is pam_unix.so and not pam.unix.so
Give what you have. To someone, it may be better than you dare to think.
Offline
Yeah, I just noticed. Thank you.
Offline