CASA.spec was corrected and pam scripts were moved to spec file instead of start up script.
This commit is contained in:
9
c_micasad/startup/casaucfgpam
Normal file
9
c_micasad/startup/casaucfgpam
Normal file
@@ -0,0 +1,9 @@
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user