blob: 2f41ab74c41da655c4f62ebcd370d3e42a4689d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/ash -- sourced
# NSA needs to know
if [ "x$PAM_SERVICE" != "xsu" -a "x$PAM_SERVICE" != "xsudo" ]; then
. /opt/openslx/config
if [ "x$SLX_REMOTE_LOG_SESSIONS" = "xyes" -o "x$PAM_USER" = "xroot" ]; then
slxlog "session-close" "$PAM_USER logged out on $PAM_TTY"
elif [ "x$SLX_REMOTE_LOG_SESSIONS" = "xanonymous" ]; then
slxlog "session-close" "User logged out on $PAM_TTY"
fi
fi
true
|