Ahenk/usr/share/libpam-script/pam_script_ses_close
2016-06-20 11:57:40 +03:00

6 lines
136 B
Bash
Executable file

#!/bin/bash
if [ -n $PAM_USER ]; then
if [ $PAM_USER != "root" ]; then
sudo python3 /opt/ahenk/ahenkd.py logout $PAM_USER
fi
fi