Ahenk/usr/share/libpam-script/pam_script_ses_open

8 lines
178 B
Text
Raw Normal View History

#!/bin/bash
if [ -n $PAM_USER ]; then
if [ $PAM_USER != "root" ]; then
sudo python3 /opt/ahenk/ahenkd.py login $PAM_USER
echo "geldim" >> /home/lider/cemre.log
fi
fi