diff options
author | Tim Rice <tim@multitalents.net> | 2002-11-13 15:50:04 -0800 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2002-11-13 15:50:04 -0800 |
commit | 748fcf9881f67f75b5b5935b1a0f18945e9c0443 (patch) | |
tree | ff229b049c7acfd63409aee763ecd0d3fabd8b26 /contrib/solaris/opensshd.in | |
parent | f5397c081d790a3758e1ee65eca1ab7b3632b0d0 (diff) |
[contrib/solaris/opensshd.in] add umask 022 so sshd.pid is not world writable.
Diffstat (limited to 'contrib/solaris/opensshd.in')
-rwxr-xr-x | contrib/solaris/opensshd.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/solaris/opensshd.in b/contrib/solaris/opensshd.in index e7ca2489f..48b6c5702 100755 --- a/contrib/solaris/opensshd.in +++ b/contrib/solaris/opensshd.in | |||
@@ -3,6 +3,8 @@ | |||
3 | # | 3 | # |
4 | # Stripped PRNGd out of it for the time being. | 4 | # Stripped PRNGd out of it for the time being. |
5 | 5 | ||
6 | umask 022 | ||
7 | |||
6 | CAT=/usr/bin/cat | 8 | CAT=/usr/bin/cat |
7 | KILL=/usr/bin/kill | 9 | KILL=/usr/bin/kill |
8 | 10 | ||