diff options
author | Colin Watson <cjwatson@debian.org> | 2014-02-09 16:10:13 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2016-08-07 12:18:44 +0100 |
commit | 172bb48ec4cb3b65d26d4f3bd8bc0e82ddaf6ca1 (patch) | |
tree | 0040a09cca115ad0d3c2b333a09b42659b235333 /ssh-agent.1 | |
parent | e4ba4e1616d372522de9e18f0973ed49a5521b95 (diff) |
Document consequences of ssh-agent being setgid in ssh-agent(1)
Bug-Debian: http://bugs.debian.org/711623
Forwarded: no
Last-Update: 2013-06-08
Patch-Name: ssh-agent-setgid.patch
Diffstat (limited to 'ssh-agent.1')
-rw-r--r-- | ssh-agent.1 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ssh-agent.1 b/ssh-agent.1 index c4b50bbdf..2fe22013a 100644 --- a/ssh-agent.1 +++ b/ssh-agent.1 | |||
@@ -193,6 +193,21 @@ environment variable holds the agent's process ID. | |||
193 | .Pp | 193 | .Pp |
194 | The agent exits automatically when the command given on the command | 194 | The agent exits automatically when the command given on the command |
195 | line terminates. | 195 | line terminates. |
196 | .Pp | ||
197 | In Debian, | ||
198 | .Nm | ||
199 | is installed with the set-group-id bit set, to prevent | ||
200 | .Xr ptrace 2 | ||
201 | attacks retrieving private key material. | ||
202 | This has the side-effect of causing the run-time linker to remove certain | ||
203 | environment variables which might have security implications for set-id | ||
204 | programs, including | ||
205 | .Ev LD_PRELOAD , | ||
206 | .Ev LD_LIBRARY_PATH , | ||
207 | and | ||
208 | .Ev TMPDIR . | ||
209 | If you need to set any of these environment variables, you will need to do | ||
210 | so in the program executed by ssh-agent. | ||
196 | .Sh FILES | 211 | .Sh FILES |
197 | .Bl -tag -width Ds | 212 | .Bl -tag -width Ds |
198 | .It Pa $TMPDIR/ssh-XXXXXXXXXX/agent.\*(Ltppid\*(Gt | 213 | .It Pa $TMPDIR/ssh-XXXXXXXXXX/agent.\*(Ltppid\*(Gt |