You are not logged in.
Hi everyone, I've been playing around with my pam.d configuration files trying to configure my fingerprint reader, but I think I made a mistake and sudo doesn't ask me for my password anymore (nor for my fingerprint), it grants me permission automatically...
This is my /etc/pam.d/sudo file:
auth sufficient pam_fprint.so
auth required pam_unix.so try_first_pass nullok_secure
auth required pam_nologin.so
I've tried removing the "auth sufficient pam_fprint.so" line and the "try_first_pass nullok_secure" but it doesn't work and I don't feel secure if it grants premissions so easily...
Anyone has a clue about what can be wrong? Thanks!
Last edited by uorbe001 (2009-01-22 19:03:26)
Offline
If you think it's a sudo configuration posting /etc/sudoers might be helpful to look at as well.
Offline
Simply removing the pam_fprint.so line should bring you back close to default. However, your sudo timeout is probably still in effect, which is why you are still granted permissions without a password after making the change.
M*cr*s*ft: Who needs quality when you have marketing?
Offline
sudo -l
will give you your permissions as configured in /etc/sudoers... the last entry in /etc/sudoers takes precedence. (that is an "ell", not a "one")
Offline
Simply removing the pam_fprint.so line should bring you back close to default. However, your sudo timeout is probably still in effect, which is why you are still granted permissions without a password after making the change.
Yup, that was the problem >.< I thought the timeout didn't work when rebooting, but it does, so it's everything alright... Thanks to everyone anyway!
Offline