+++ /dev/null
-#%PAM-1.0
-auth include system-auth
-account include system-auth
+++ /dev/null
-#%PAM-1.0
-auth required pam_listfile.so item=user sense=deny file=/etc/security/blacklist onerr=succeed
-auth required pam_listfile.so item=user sense=deny file=/etc/security/blacklist.kdm onerr=succeed
-auth required pam_tally.so deny=0 file=/var/log/faillog onerr=succeed
-auth required pam_permit.so
-account required pam_shells.so
-account required pam_nologin.so
-account required pam_access.so
-account include system-auth
-password include system-auth
-session optional pam_keyinit.so force revoke
-session include system-auth
-session optional pam_console.so
+++ /dev/null
-#!/bin/sh
-
-# Make it login shell
-if [ "$HAVE_LOGIN_SHELL" != "yes" ]; then
- export HAVE_LOGIN_SHELL=yes
- case $SHELL in
- */csh|*/tcsh)
- # [t]cshrc is always sourced automatically.
- # Note that sourcing csh.login after .cshrc is non-standard.
- exec $SHELL -c "if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) source ~/.login; exec $0 $*"
- ;;
- *)
- exec $SHELL -l $0 $*
- esac
-fi
-unset HAVE_LOGIN_SHELL
-
-# Call standard xinit actions
-. /etc/X11/xinit/xinitdefs
-
-case $1 in
- failsafe)
- exec xterm -geometry 80x24-0-0
- ;;
- ""|default)
- # take default action
- if [ -x "$HOME/.Xclients" ]; then
- exec "$HOME/.Xclients"
- else
- exec /etc/X11/xinit/Xclients
- fi
- ;;
- custom)
- if [ -x "$HOME/.xsession" ]; then
- exec "$HOME/.xsession"
- else
- exec xmessage -center -buttons OK:0 -default OK \
- "Sorry, $HOME/.xsession not found."
- fi
- ;;
- *)
- exec /etc/X11/xinit/Xclients $1
-esac
+++ /dev/null
-#!/bin/sh
-#
-# kdm: Starts the KDE Display Manager
-#
-# description: Starts and stops the KDE Display Manager at startup and \
-# shutdown..
-#
-# chkconfig: 5 95 05
-#
-# probe: true
-# hide: true
-#
-# $Id$
-
-. /etc/rc.d/init.d/functions
-
-# Get service config
-if [ -f /etc/sysconfig/kdm ]; then
- . /etc/sysconfig/kdm
-fi
-
-start() {
- # Check if the service is already running?
- if [ ! -f /var/lock/subsys/kdm ]; then
- msg_starting "KDE Display Manager"
- daemon /usr/bin/kdm
- RETVAL=$?
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/kdm
- else
- msg_already_running "KDE Display Manager"
- fi
-}
-
-stop() {
- # Check if the service is already running?
- if [ -f /var/lock/subsys/kdm ]; then
- msg_stopping "KDE Display Manager"
- killproc kdm
- rm -f /var/lock/subsys/kdm
- else
- msg_not_running "KDE Display Manager"
- fi
-}
-
-condrestart() {
- if [ -f /var/lock/subsys/kdm ]; then
- stop
- start
- else
- msg_not_running "KDE Display Manager"
- RETVAL=$1
- fi
-}
-
-RETVAL=0
-# See how we were called.
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart)
- stop
- start
- ;;
- try-restart)
- condrestart 0
- ;;
- force-reload)
- condrestart 7
- ;;
- status)
- status kdm
- exit $?
- ;;
- *)
- msg_usage "$0 {start|stop|restart|try-restart|force-reload|status}"
- exit 3
-esac
-
-exit $RETVAL
+++ /dev/null
-#%PAM-1.0
-auth required pam_listfile.so item=user sense=deny file=/etc/security/blacklist.kdm onerr=succeed
-auth include system-auth
-account required pam_shells.so
-account required pam_nologin.so
-account required pam_access.so
-account include system-auth
-password include system-auth
-session optional pam_keyinit.so force revoke
-session include system-auth
-session optional pam_console.so