diff --git a/CASA/CASA.changes b/CASA/CASA.changes index 64862b08..e0ea473c 100644 --- a/CASA/CASA.changes +++ b/CASA/CASA.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Apr 11 09:26:00 MDT 2008 - jnorman@novell.com + +- Bug 290192. Patch casacfgpam and casaucfgpam to hook pam on + openSUSE desktops + ------------------------------------------------------------------- Mon Dec 10 14:22:38 MST 2007 - jnorman@novell.com diff --git a/CASA/micasad/startup/casacfgpam b/CASA/micasad/startup/casacfgpam index 9b0a2fb5..1709aee9 100755 --- a/CASA/micasad/startup/casacfgpam +++ b/CASA/micasad/startup/casacfgpam @@ -1,9 +1,11 @@ #!/bin/bash # Adding CASA pam entries to pam files only on the desktop. -DESKTOP=`grep -i desktop /etc/SuSE-release` +SERVER=`grep -i server /etc/SuSE-release` -if [ "$DESKTOP" != "" ] +if [ "$SERVER" != "" ] then + exit 0 +else rm -f *.rpmsave diff --git a/CASA/micasad/startup/casaucfgpam b/CASA/micasad/startup/casaucfgpam index ea23ece7..4b8437ac 100644 --- a/CASA/micasad/startup/casaucfgpam +++ b/CASA/micasad/startup/casaucfgpam @@ -1,9 +1,11 @@ #!/bin/bash # Remove the CASA pam entries from pam files. -DESKTOP=`grep -i desktop /etc/SuSE-release` +SERVER=`grep -i server /etc/SuSE-release` -if [ "$DESKTOP" != "" ] +if [ "$SERVER" != "" ] then + exit 0 +else prefix="/etc/pam.d" for pam_file in "$prefix/login" "$prefix/sshd" "$prefix/xdm" "$prefix/gdm" "$prefix/kdm" "$prefix/passwd" "$prefix/gnome-passwd"