diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | regress/login-timeout.sh | 4 |
2 files changed, 7 insertions, 1 deletions
@@ -34,6 +34,10 @@ | |||
34 | make sure $SCP is tested on the remote end rather than whichever one | 34 | make sure $SCP is tested on the remote end rather than whichever one |
35 | happens to be in $PATH; from portable | 35 | happens to be in $PATH; from portable |
36 | (Id sync only) | 36 | (Id sync only) |
37 | - djm@cvs.openbsd.org 2014/02/27 20:04:16 | ||
38 | [login-timeout.sh] | ||
39 | remove any existing LoginGraceTime from sshd_config before adding | ||
40 | a specific one for the test back in | ||
37 | - (djm) [README contrib/caldera/openssh.spec contrib/redhat/openssh.spec] | 41 | - (djm) [README contrib/caldera/openssh.spec contrib/redhat/openssh.spec] |
38 | [contrib/suse/openssh.spec] Crank version numbers | 42 | [contrib/suse/openssh.spec] Crank version numbers |
39 | 43 | ||
diff --git a/regress/login-timeout.sh b/regress/login-timeout.sh index d73923b9c..d9b48f391 100644 --- a/regress/login-timeout.sh +++ b/regress/login-timeout.sh | |||
@@ -1,9 +1,11 @@ | |||
1 | # $OpenBSD: login-timeout.sh,v 1.5 2013/05/17 10:23:52 dtucker Exp $ | 1 | # $OpenBSD: login-timeout.sh,v 1.6 2014/02/27 20:04:16 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="connect after login grace timeout" | 4 | tid="connect after login grace timeout" |
5 | 5 | ||
6 | trace "test login grace with privsep" | 6 | trace "test login grace with privsep" |
7 | cp $OBJ/sshd_config $OBJ/sshd_config.orig | ||
8 | grep -vi LoginGraceTime $OBJ/sshd_config.orig > $OBJ/sshd_config | ||
7 | echo "LoginGraceTime 10s" >> $OBJ/sshd_config | 9 | echo "LoginGraceTime 10s" >> $OBJ/sshd_config |
8 | echo "MaxStartups 1" >> $OBJ/sshd_config | 10 | echo "MaxStartups 1" >> $OBJ/sshd_config |
9 | start_sshd | 11 | start_sshd |