summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rw-r--r--debian/openssh-server.init2
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index dbf1d40c9..f73bbd209 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ openssh (1:5.1p1-7) UNRELEASED; urgency=low
2 2
3 * Update config.guess and config.sub from autotools-dev 20090611.1 3 * Update config.guess and config.sub from autotools-dev 20090611.1
4 (closes: #538301). 4 (closes: #538301).
5 * Set umask to 022 in the init script as well as postinsts (closes:
6 #539030).
5 7
6 -- Colin Watson <cjwatson@debian.org> Fri, 24 Jul 2009 18:43:45 +0100 8 -- Colin Watson <cjwatson@debian.org> Fri, 24 Jul 2009 18:43:45 +0100
7 9
diff --git a/debian/openssh-server.init b/debian/openssh-server.init
index 75ea71525..70cded948 100644
--- a/debian/openssh-server.init
+++ b/debian/openssh-server.init
@@ -16,6 +16,8 @@ set -e
16test -x /usr/sbin/sshd || exit 0 16test -x /usr/sbin/sshd || exit 0
17( /usr/sbin/sshd -\? 2>&1 | grep -q OpenSSH ) 2>/dev/null || exit 0 17( /usr/sbin/sshd -\? 2>&1 | grep -q OpenSSH ) 2>/dev/null || exit 0
18 18
19umask 022
20
19export SSHD_OOM_ADJUST=-17 21export SSHD_OOM_ADJUST=-17
20if test -f /etc/default/ssh; then 22if test -f /etc/default/ssh; then
21 . /etc/default/ssh 23 . /etc/default/ssh