From 14e72b3ec671caa7f7699f6a5536306864665a74 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 1 May 2019 10:56:43 -0600 Subject: [PATCH] Sudo's conversation functions now filters out the last login information. --- doc/TROUBLESHOOTING | 7 ------- 1 file changed, 7 deletions(-) diff --git a/doc/TROUBLESHOOTING b/doc/TROUBLESHOOTING index 3bb6f14b7..8637206bb 100644 --- a/doc/TROUBLESHOOTING +++ b/doc/TROUBLESHOOTING @@ -227,13 +227,6 @@ A) This output comes from /usr/lib/security/pam_unix_session.so.1. Then add "nowarn" to the end of the pam_unix_session.so.1 line: session required pam_unix_session.so.1 nowarm -Q) On HP-UX, when I run command via sudo it displays information - about the last successful login and last authentication failure - for every command. How can I fix this? -A) This output comes from /usr/lib/security/libpam_hpsec.so.1. - To suppress it, add a line like the following to /etc/pam.conf: - sudo session required libpam_hpsec.so.1 bypass_umask bypass_last_login - Q) On HP-UX, the umask setting in sudoers has no effect. A) If your /etc/pam.conf file has the libpam_hpsec.so.1 session module enabled, you may need to a add line like the following to pam.conf: -- 2.40.0