mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-25 18:12:20 +03:00
Update pam_script_ses_open
This commit is contained in:
parent
bf5ddb7aff
commit
9c51a4aee4
1 changed files with 1 additions and 2 deletions
|
@ -25,7 +25,6 @@ if [ -n $PAM_USER ] && [ $PAM_USER != "root" ]; then
|
||||||
TTY_DISPLAY="$PAM_TTY"
|
TTY_DISPLAY="$PAM_TTY"
|
||||||
fi
|
fi
|
||||||
log "login: $PAM_USER service: $SERVICE tty: $TTY_DISPLAY"
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue