search for: lastlog_perform_login

Displaying 1 result from an estimated 1 matches for "lastlog_perform_login".

2001 Sep 06
1
lastlog on Solaris with PAM (patch included)
...if defined(USE_PAM) + /* The PAM session code must be after do_login because the + pam_open_session handler in the pam_unix module in + Solaris updates the lastlog file, which causes do_login + to report the current login as the last one. A lastlog + entry will be written again by lastlog_perform_login, + but we'll live with that for now. Can't just disable + lastlog writing in lastlog_perform_login if USE_PAM is + defined, because there are systems and configurations + with which pam_open_session does not touch lastlog. + Also, pam_setcred might print things that bel...