summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2002-11-13 15:50:04 -0800
committerTim Rice <tim@multitalents.net>2002-11-13 15:50:04 -0800
commit748fcf9881f67f75b5b5935b1a0f18945e9c0443 (patch)
treeff229b049c7acfd63409aee763ecd0d3fabd8b26
parentf5397c081d790a3758e1ee65eca1ab7b3632b0d0 (diff)
[contrib/solaris/opensshd.in] add umask 022 so sshd.pid is not world writable.
-rw-r--r--ChangeLog6
-rwxr-xr-xcontrib/solaris/opensshd.in2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a49a8c27..ebcda10f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120021111
2 - (tim) [contrib/solaris/opensshd.in] add umask 022 so sshd.pid is
3 not world writable.
4
120021109 520021109
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
6umask 022
7
6CAT=/usr/bin/cat 8CAT=/usr/bin/cat
7KILL=/usr/bin/kill 9KILL=/usr/bin/kill
8 10