Attached patch (which is based on pam_1.1.8-3.6ubuntu2) fixes the issue for 
Ubuntu 18.04/Bionic
Following fix was implemented as mentioned by the reporter of the LP bug: 
https://github.com/linux-pam/linux-pam/commit/c5f829931a22c65feffee16570efdae036524bee
 

I tested the patch and it indeed resolves the issue: pam_tty_audit now 
works as expected and users are still able to login after adding: 
session required pam_tty_audit.so enable=root 
to 
/etc/pam.d/common-session 

"aureport --tty" shows the expected output.

  * Fix: pam_tty_audit failed in pam_open_session (LP: #1666203)

The patch has also been submitted to Debian.

** Patch added: "bionic-fix-for-lp-1666203.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1666203/+attachment/5235473/+files/bionic-fix-for-lp-1666203.debdiff

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

Title:
  pam_tty_audit failed in pam_open_session

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to