diff --git a/c_micasad/startup/casacfgpam b/c_micasad/startup/casacfgpam index 05a91619..4ba11c0a 100755 --- a/c_micasad/startup/casacfgpam +++ b/c_micasad/startup/casacfgpam @@ -1,3 +1,6 @@ +#/bin/bash +#enable the service +insserv -d /etc/init.d/micasad # Adding CASA pam entries to pam files. for file in "/etc/pam.d/login" "/etc/pam.d/sshd" "/etc/pam.d/xdm" "/etc/pam.d/gdm" "/etc/pam.d/kdm" do diff --git a/c_micasad/startup/casaucfgpam b/c_micasad/startup/casaucfgpam index 0281b3fa..9726a407 100644 --- a/c_micasad/startup/casaucfgpam +++ b/c_micasad/startup/casaucfgpam @@ -1,3 +1,6 @@ +#/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