summaryrefslogtreecommitdiff
path: root/ssh-agent.1
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-02-09 16:10:13 +0000
committerColin Watson <cjwatson@debian.org>2016-02-29 12:35:09 +0000
commitd7698edca3667ffacae051582028eb3971928edc (patch)
tree439f881772c9a07ec25bd12f3592f8322be27522 /ssh-agent.1
parent2c7520d8d6245868704cf01dd572cce744663173 (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.115
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
194The agent exits automatically when the command given on the command 194The agent exits automatically when the command given on the command
195line terminates. 195line terminates.
196.Pp
197In Debian,
198.Nm
199is installed with the set-group-id bit set, to prevent
200.Xr ptrace 2
201attacks retrieving private key material.
202This has the side-effect of causing the run-time linker to remove certain
203environment variables which might have security implications for set-id
204programs, including
205.Ev LD_PRELOAD ,
206.Ev LD_LIBRARY_PATH ,
207and
208.Ev TMPDIR .
209If you need to set any of these environment variables, you will need to do
210so 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