„sshlogin.sh“ ändern
This commit is contained in:
parent
f4750e89df
commit
64a583614b
@ -2,5 +2,5 @@
|
|||||||
if [ "$PAM_TYPE" != "close_session" ]; then
|
if [ "$PAM_TYPE" != "close_session" ]; then
|
||||||
host="`hostname`"
|
host="`hostname`"
|
||||||
message="`env`"
|
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
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user