Alright so I’m here again with a weird-ass bug. Suddenly my PAMUSB authentication stopped working for me. It does work for the root
user, though. My password still works, which i’ll explain why later on. I ran journalctl --follow
and issued a login request with PAMUSB. Here is the output:
Oct 20 18:45:12 hp-pavilion sudo[44263]: PAM unable to dlopen(/usr/lib/security/pam-unix.so): /usr/lib/security/pam-unix.so: cannot open shared object file: No such file or directory
Oct 20 18:45:12 hp-pavilion sudo[44263]: PAM adding faulty module: /usr/lib/security/pam-unix.so
Oct 20 18:45:12 hp-pavilion pam_usb[44263]: Authentication request for user "pranay" (sudo)
Oct 20 18:45:12 hp-pavilion pam_usb[44263]: Access denied.
now this is weird, so i checked the /usr/lib/security/pam-unix.so
and it exists. Here:
ls -l /usr/lib/security/pam_unix.so
-rwxr-xr-x 1 root root 51064 May 25 12:44 /usr/lib/security/pam_unix.so
This is really weird and any help will be much appreciated.
Note: i had installed samba
and nautilus-share
just before this. Removing those packages allowed me to use my password again, which i then changed, but PAMUSB doesnt work. I also tried reconfiguring my PAMUSB, but it doesnt work. For the root
user, password as well as PAMUSB works.