Update pam_script_ses_open

This commit is contained in:
Emre Akkaya 2016-06-27 12:16:59 +03:00 committed by GitHub
parent bf5ddb7aff
commit 9c51a4aee4

View file

@ -25,7 +25,6 @@ if [ -n $PAM_USER ] && [ $PAM_USER != "root" ]; then
TTY_DISPLAY="$PAM_TTY"
fi
log "login: $PAM_USER service: $SERVICE tty: $TTY_DISPLAY"
sudo python3 /opt/ahenk/ahenkd.py login $PAM_USER SERVICE TTY_DISPLAY
sudo python3 /opt/ahenk/ahenkd.py login $PAM_USER $SERVICE $TTY_DISPLAY
fi
fi