You are not logged in.

#1 2011-11-17 11:21:17

johndir
Member
Registered: 2011-11-09
Posts: 7

[SOLVED] Failure changing password hashes to SHA (512)

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.so

Changing 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

#2 2011-11-17 11:35:44

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Failure changing password hashes to SHA (512)

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

#3 2011-11-17 11:38:07

johndir
Member
Registered: 2011-11-09
Posts: 7

Re: [SOLVED] Failure changing password hashes to SHA (512)

Yeah, I just noticed. Thank you.

Offline

Board footer

Powered by FluxBB