diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-10-28 18:26:10 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-10-28 18:26:10 -0400 |
commit | bee6028687945fd7d8d6eab98c26def2ecadf8b1 (patch) | |
tree | 4ca1245b753f8deb6c7178388b97101306a1e29c /tests | |
parent | 30ac88c7bd68e38af8b2b06327bc1c6492a337c6 (diff) |
testing: tighten up the umask before sshd launch, so that the socket is not exposed during the test.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/basic | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/basic b/tests/basic index 9c3796c..d82719d 100755 --- a/tests/basic +++ b/tests/basic @@ -20,6 +20,7 @@ gpgadmin() { } launch_sshd() { + umask 0077 socat EXEC:"/usr/sbin/sshd -f ${SSHD_CONFIG} -i -D -e" "UNIX-LISTEN:${SOCKET}" 2> "$TEMPDIR"/sshd.log & export SSHD_PID=$! |