CASA/c_micasad/startup/casaucfgpam

13 lines
292 B
Plaintext
Raw Normal View History

#/bin/bash
#disable the service
insserv -r /etc/init.d/micasad
# Remove the CASA pam entries from pam files.
for pam_file in "/etc/pam.d/login" "/etc/pam.d/sshd" "/etc/pam.d/xdm" "/etc/pam.d/gdm" "/etc/pam.d/kdm"
do
if [ -f $pam_file ]
then
sed -i '/pam_micasa/d' $pam_file
fi
done