diff options
author | Colin Watson <cjwatson@debian.org> | 2014-03-20 00:24:29 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2014-03-20 00:24:29 +0000 |
commit | 796ba4fd011b5d0d9d78d592ba2f30fc9d5ed2e7 (patch) | |
tree | 98105bf1621565a2679d5f7f4d650561be2d7666 /regress/login-timeout.sh | |
parent | 9a975a9faed7c4f334e8c8490db3e77e102f2b21 (diff) | |
parent | 19158b2447e35838d69b2b735fb640d1e86061ea (diff) |
Import openssh_6.6p1.orig.tar.gz
Diffstat (limited to 'regress/login-timeout.sh')
-rw-r--r-- | regress/login-timeout.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |