summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-02-09 16:10:13 +0000
committerColin Watson <cjwatson@debian.org>2014-03-19 16:40:07 +0000
commit5708dae528688dd06c784773f0e05f5e3739d0e5 (patch)
treeb3c07895ebcb282fa8c47f5b585fa2a59e43ef2b
parentfaf2466c7933f1c4225c8a8ceb503e24e4228ab9 (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
-rw-r--r--ssh-agent.115
1 files changed, 15 insertions, 0 deletions
diff --git a/ssh-agent.1 b/ssh-agent.1
index 281ecbdcf..38fd540bd 100644
--- a/ssh-agent.1
+++ b/ssh-agent.1
@@ -183,6 +183,21 @@ environment variable holds the agent's process ID.
183.Pp 183.Pp
184The agent exits automatically when the command given on the command 184The agent exits automatically when the command given on the command
185line terminates. 185line terminates.
186.Pp
187In Debian,
188.Nm
189is installed with the set-group-id bit set, to prevent
190.Xr ptrace 2
191attacks retrieving private key material.
192This has the side-effect of causing the run-time linker to remove certain
193environment variables which might have security implications for set-id
194programs, including
195.Ev LD_PRELOAD ,
196.Ev LD_LIBRARY_PATH ,
197and
198.Ev TMPDIR .
199If you need to set any of these environment variables, you will need to do
200so in the program executed by ssh-agent.
186.Sh FILES 201.Sh FILES
187.Bl -tag -width Ds 202.Bl -tag -width Ds
188.It Pa ~/.ssh/identity 203.It Pa ~/.ssh/identity