blob: fc340891ccc8b8b4c43a78566c44f8eb0c163f8d (
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-open" "$PAM_USER logged in on $PAM_TTY"
elif [ "x$SLX_REMOTE_LOG_SESSIONS" = "xanonymous" ]; then
slxlog "session-open" "User logged in on $PAM_TTY"
fi
fi
true
|