summaryrefslogtreecommitdiff
path: root/playbooks.d/ssh/share/notify.sh
blob: 00e0b9f37362f1f8e7afc9ddb73faf0ce5a7a4f4 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

if [ "$PAM_TYPE" != "open_session" ]
then
	exit 0
fi

ntfy send "$PAM_USER@$(hostname -f)" "Login Succesful"