Bug 290192. Patch casacfgpam and casaucfgpam to hook pam on

openSUSE desktops
This commit is contained in:
Jim Norman 2008-04-11 15:28:55 +00:00
parent 4c53f60fa3
commit 883e608dfd
3 changed files with 14 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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"