19991113
- - Don't install config files if they already exist
- - Fix inclusion of additional preprocessor directives from acconfig.h
+ - Build patch from Niels Kristian Bech Jensen <nkbj@image.dk>
+ - Don't install config files if they already exist
+ - Fix inclusion of additional preprocessor directives from acconfig.h
- Removed redundant inclusions of config.h
- Added 'Obseletes' lines to RPM spec file
- Merged OpenBSD CVS changes:
have been initialised. Patch from Jani Hakala <jahakala@cc.jyu.fi>
- Added shadow password patch from Thomas Neumann <tom@smart.ruhr.de>
- Added ifdefs to auth-passwd.c to exclude it when PAM is enabled
+ - Tidied default config file some more
+ - Revised Redhat initscript to fix bug: sshd (re)start would fail
+ if executed from inside a ssh login.
19991112
- Merged changes from OpenBSD CVS
case "$1" in
start)
echo -n "Starting sshd: "
- daemon /usr/sbin/sshd
- RETVAL=$?
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sshd
+ if [ ! -f /var/run/sshd.pid ] ; then
+ /usr/sbin/sshd && success "sshd startup" || failure "sshd startup"
+ RETVAL=$?
+ fi
echo
;;
stop)
echo -n "Shutting down sshd: "
- killproc sshd
- RETVAL=$?
- [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sshd
+ if [ -f /var/run/sshd.pid ] ; then
+ killproc sshd
+ fi
echo
;;
restart)
LoginGraceTime 600
KeyRegenerationInterval 3600
PermitRootLogin yes
-
-#
-# Loglevel replaces QuietMode and FascistLogging
-#
-SyslogFacility AUTH
-LogLevel INFO
-
-#
-# Don't read ~/.rhosts and ~/.shosts files
StrictModes yes
X11Forwarding no
X11DisplayOffset 10
KeepAlive yes
CheckMail no
UseLogin no
+
+#
+# Loglevel replaces QuietMode and FascistLogging
+#
SyslogFacility AUTH
-RhostsAuthentication no
+LogLevel INFO
#
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
# Don't read ~/.rhosts and ~/.shosts files
#
IgnoreRhosts yes
+RhostsAuthentication no
#
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication