Hacked By AnonymousFox

Current Path : /usr/share/pam_lve/scriptlets/
Upload File :
Current File : //usr/share/pam_lve/scriptlets/rpm_triggerin_sudo.sh

#!/bin/bash

# RPM post script
# Note: Also called from Debian pam-lve.postinst scriptlet
# RPM arguments:
# "$1" == 0 -- RPM uninstall package ???
# "$1" == 1 -- RPM upgrade/downgrade package ???
# DEB arguments:
# "$1" == "configure" - DEB install package

# "pam-lve TRIGGER SUDO STARTED"

grep -q pam_sulve.so /etc/pam.d/sudo
if  [ $? -eq 1 ]; then
    echo "session    required     pam_sulve.so" >> /etc/pam.d/sudo
fi

# "pam-lve TRIGGER SUDO FINISHED"
exit 0


Hacked By AnonymousFox1.0, Coded By AnonymousFox