]> andersk Git - openssh.git/commitdiff
- Tidied default config file some more
authordamien <damien>
Sat, 13 Nov 1999 12:56:35 +0000 (12:56 +0000)
committerdamien <damien>
Sat, 13 Nov 1999 12:56:35 +0000 (12:56 +0000)
 - Revised Redhat initscript to fix bug: sshd (re)start would fail
   if executed from inside a ssh login.

ChangeLog
sshd.init.redhat
sshd_config

index 1ac4dfee8acbb0c108baa1ffbd9f2dd123ae42d5..8194b7d41ec0d5b3855ce316352f590ff6dc9852 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 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:
@@ -11,6 +12,9 @@
    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
index 40cc92b86994dea082704039198e3a810959061d..5e91948997a464c29fa74fa7ab17045536f103a8 100755 (executable)
@@ -20,16 +20,17 @@ RETVAL=0
 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)
index ed9c391a3b3b82acfaf217c07a3863c1aa24c02b..ee6af5f8bdb3a650e1296dd8ed34d2761c56ca84 100644 (file)
@@ -7,15 +7,6 @@ ServerKeyBits 768
 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
@@ -23,8 +14,12 @@ PrintMotd yes
 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
@@ -35,6 +30,7 @@ RhostsRSAAuthentication no
 # Don't read ~/.rhosts and ~/.shosts files
 #
 IgnoreRhosts yes
+RhostsAuthentication no
 
 #
 # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
This page took 1.089253 seconds and 5 git commands to generate.