„sshlogin.sh“ ändern

This commit is contained in:
Yann Mölle 2023-04-12 07:08:37 +00:00
parent 928447e5ef
commit b0be6ddd7d

View File

@ -2,5 +2,5 @@
if [ "$PAM_TYPE" != "close_session" ]; then
host="`hostname`"
message="`env`"
sh pushover.sh -u [userkey] -a [apikey/token] "SSH Login: $PAM_USER from $PAM_RHOST on $host"
sh /opt/push/pushover.sh -u [userkey] -a [apikey/token] "SSH Login: $PAM_USER from $PAM_RHOST on $host"
fi