#!/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