Mini Shell

Direktori : /usr/share/cagefs/scriptlets/
Upload File :
Current File : //usr/share/cagefs/scriptlets/rpm_at_trigger.sh

#!/usr/bin/bash
# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2021 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENSE.TXT

if [ -e "/etc/pam.d/atd" ];then
    if [ `grep -c pam_lve.so /etc/pam.d/atd` -eq 0 ]; then
        echo "session required pam_lve.so 500 1" >> /etc/pam.d/atd
    fi
fi

exit 0

Zerion Mini Shell 1.0