„sshlogin.sh“ ändern

This commit is contained in:
Yann Mölle 2023-04-12 07:06:40 +00:00
parent f4750e89df
commit 64a583614b

View File

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