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 | |
parent | f5397c081d790a3758e1ee65eca1ab7b3632b0d0 (diff) |
[contrib/solaris/opensshd.in] add umask 022 so sshd.pid is not world writable.
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | contrib/solaris/opensshd.in | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20021111 | ||
2 | - (tim) [contrib/solaris/opensshd.in] add umask 022 so sshd.pid is | ||
3 | not world writable. | ||
4 | |||
1 | 20021109 | 5 | 20021109 |
2 | - (bal) OpenBSD CVS Sync | 6 | - (bal) OpenBSD CVS Sync |
3 | - itojun@cvs.openbsd.org 2002/10/16 14:31:48 | 7 | - itojun@cvs.openbsd.org 2002/10/16 14:31:48 |
@@ -818,4 +822,4 @@ | |||
818 | save auth method before monitor_reset_key_state(); bugzilla bug #284; | 822 | save auth method before monitor_reset_key_state(); bugzilla bug #284; |
819 | ok provos@ | 823 | ok provos@ |
820 | 824 | ||
821 | $Id: ChangeLog,v 1.2511 2002/11/09 16:11:10 mouring Exp $ | 825 | $Id: ChangeLog,v 1.2512 2002/11/13 23:50:04 tim Exp $ |
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 | ||