]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- djm@cvs.openbsd.org 2014/02/27 20:04:16
authorDamien Miller <djm@mindrot.org>
Thu, 27 Feb 2014 23:24:11 +0000 (10:24 +1100)
committerDamien Miller <djm@mindrot.org>
Thu, 27 Feb 2014 23:24:11 +0000 (10:24 +1100)
     [login-timeout.sh]
     remove any existing LoginGraceTime from sshd_config before adding
     a specific one for the test back in

ChangeLog
regress/login-timeout.sh

index 8f206f56a64d27aca47f37e9b0e332d4f7b67bc6..61e12f0e0893bc3e23650d0d155c9c0b39980494 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
      make sure $SCP is tested on the remote end rather than whichever one
      happens to be in $PATH; from portable
      (Id sync only)
+   - djm@cvs.openbsd.org 2014/02/27 20:04:16
+     [login-timeout.sh]
+     remove any existing LoginGraceTime from sshd_config before adding
+     a specific one for the test back in
  - (djm) [README contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
    [contrib/suse/openssh.spec] Crank version numbers
 
index d73923b9cdb318663d61eb5c3d2235bd551e856a..d9b48f391021386562b37b46595201f9cfd62e8c 100644 (file)
@@ -1,9 +1,11 @@
-#      $OpenBSD: login-timeout.sh,v 1.5 2013/05/17 10:23:52 dtucker Exp $
+#      $OpenBSD: login-timeout.sh,v 1.6 2014/02/27 20:04:16 djm Exp $
 #      Placed in the Public Domain.
 
 tid="connect after login grace timeout"
 
 trace "test login grace with privsep"
+cp $OBJ/sshd_config $OBJ/sshd_config.orig
+grep -vi LoginGraceTime $OBJ/sshd_config.orig > $OBJ/sshd_config
 echo "LoginGraceTime 10s" >> $OBJ/sshd_config
 echo "MaxStartups 1" >> $OBJ/sshd_config
 start_sshd