Andrei, try to log in via multiple methods. Every service (ssh, login,
gdm, xdm, etc) has its own PAM configuration and some of them may
reference this module and some may not.

Once you've logged in, edit the files in /etc/pam.d/ that reference this
module. Remove or comment them out. Save, then test. Don't quit any root
shells in the process of testing, because changing PAM configuration can
lock you out of your system -- as you've discovered.

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2060676

Title:
  login: remove pam_lastlog.so from config

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/2060676/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to