PAM Plugin Support for Session Interface

Bug #1087889 reported by Jervin R
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
percona-pam-for-mysql
New
Undecided
Unassigned

Bug Description

This is actually a feature request. Currently, the plugin does not log session start and end with pam_unix i.e. like the log below. This feature should be handy for auditing purposes for accounts authenticating via this plugin.

Dec 7 19:35:26 centos6 sshd[1610]: pam_unix(sshd:session): session closed for user revin
Dec 7 19:35:28 centos6 sshd[2587]: Accepted publickey for revin from 192.168.56.1 port 45902 ssh2
Dec 7 19:35:29 centos6 sshd[2587]: pam_unix(sshd:session): session opened for user revin by (uid=0)

Tags: i27379
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

pam_open_session and pam_close_session (probably in mysql_close)
are required here, optionally with pam_setcred.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.