2006-04-23 03:11:20 +02:00
|
|
|
#!/bin/bash
|
2006-04-14 22:23:26 +02:00
|
|
|
#disable the service
|
|
|
|
insserv -r /etc/init.d/micasad
|
2006-02-09 00:14:01 +01:00
|
|
|
# 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
|
|
|
|
|