]> granicus.if.org Git - sudo/commit
Use PAM_SILENT to prevent pam_lastlog from printing last login
authorTodd C. Miller <Todd.Miller@sudo.ws>
Mon, 7 Jan 2019 16:50:40 +0000 (09:50 -0700)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Mon, 7 Jan 2019 16:50:40 +0000 (09:50 -0700)
commite2675d8f1efc7681e1a718754bd1ef2904ac9ceb
treefddb60f4c7d9b349cc3fab2d5a84cdbd6a983e34
parentf7d7a9a6196937c88588956d5b8dfcfbbe0b4fba
Use PAM_SILENT to prevent pam_lastlog from printing last login
information on RedHat except when explicitly running a shell.
Adapted from a patch from Nir Soffer.  Bug #867
plugins/sudoers/auth/pam.c