Bug 290192. Patch casacfgpam and casaucfgpam to hook pam on
openSUSE desktops
This commit is contained in:
parent
4c53f60fa3
commit
883e608dfd
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user