diff options
author | Colin Watson <cjwatson@debian.org> | 2005-05-31 03:04:26 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2005-05-31 03:04:26 +0000 |
commit | 38f80c0a13d58fe27fbf5b2bae09368d3db4c09c (patch) | |
tree | 63e0ba3780758f96272fe74a284406080703ae87 /debian/openssh-client.postinst | |
parent | 086880515569ec21401dcdc9d1b191de731b0c5e (diff) |
Since ssh-keysign isn't used by default (you need to set EnableSSHKeysign
to "yes" in /etc/ssh/ssh_config), having a debconf question to ask whether
it should be setuid is overkill, and the question text had got out of date
anyway. Remove this question, ship ssh-keysign setuid in
openssh-client.deb, and set a statoverride if the debconf question was
previously set to false.
Diffstat (limited to 'debian/openssh-client.postinst')
-rw-r--r-- | debian/openssh-client.postinst | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/debian/openssh-client.postinst b/debian/openssh-client.postinst index 4744a34a1..466801057 100644 --- a/debian/openssh-client.postinst +++ b/debian/openssh-client.postinst | |||
@@ -73,16 +73,6 @@ set_ssh_permissions() { | |||
73 | dpkg-statoverride --remove /usr/lib/ssh-keysign || true | 73 | dpkg-statoverride --remove /usr/lib/ssh-keysign || true |
74 | fi | 74 | fi |
75 | fi | 75 | fi |
76 | |||
77 | if [ ! -x /usr/sbin/dpkg-statoverride ] || \ | ||
78 | ! dpkg-statoverride --list /usr/lib/openssh/ssh-keysign >/dev/null; then | ||
79 | db_get ssh/SUID_client | ||
80 | if [ "$RET" = "false" ] ; then | ||
81 | chmod 0755 /usr/lib/openssh/ssh-keysign | ||
82 | elif [ "$RET" = "true" ] ; then | ||
83 | chmod 4755 /usr/lib/openssh/ssh-keysign | ||
84 | fi | ||
85 | fi | ||
86 | } | 76 | } |
87 | 77 | ||
88 | fix_ssh_group() { | 78 | fix_ssh_group() { |
@@ -113,7 +103,4 @@ if [ "$2" = "1:3.5p1-1" ]; then | |||
113 | fi | 103 | fi |
114 | set_ssh_agent_permissions | 104 | set_ssh_agent_permissions |
115 | 105 | ||
116 | |||
117 | db_stop | ||
118 | |||
119 | exit 0 | 106 | exit 0 |