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-20 00:32:29 +0000
commitd53483ab71ac2a9195c8f171da5a5dcf54ec16ec (patch)
treeb3b229bb6fb1434c50052766c4dc1d03a232080b
parent111de26347496af3f6ed04849fd29bc4bf1c2cea (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