]> git.ipfire.org Git - thirdparty/shadow.git/commit
Close PAM session as root.
authorNicolas François <nicolas.francois@centraliens.net>
Tue, 20 Aug 2013 18:50:03 +0000 (20:50 +0200)
committerNicolas François <nicolas.francois@centraliens.net>
Tue, 20 Aug 2013 18:50:03 +0000 (20:50 +0200)
commitcf57a6c09d53b14b64b09b269017aa266d9c4c50
treed0c21c821ced756269a4c9f4d8d2ed849a116195
parent464187d07ed83aeba5654b7834a85e23915338bc
Close PAM session as root.

* src/su.c: call handle_session() before changing the UID so that
PAM sessions can be closed as root. This require to set the pt
slave ownership to the user we are switching to.
ChangeLog
src/su.c