added info on where to reference the ssh login notification

This commit is contained in:
Peter Wood
2023-09-01 07:07:36 -04:00
parent 23c8b588a9
commit c0e2cd351e

View File

@@ -1,4 +1,11 @@
#!/bin/bash
#
# This script is referenced in `/etc/pam.d/sshd`
# - at the end of the `sshd` file, add
# `session optional pam_exec.so /home/acedanger/shell/ssh-login.sh`
#
if [ "${PAM_TYPE}" = "open_session" ]; then
curl \
-H prio:high \