Displaying 1 result from an estimated 1 matches for "l912".
Did you mean:
912
2006 Oct 04
0
[Bug 1247] ssh-agent prevents use of group permissions to control access to agent socket
...y
chmod -R 770 agent.agent /tmp/ssh-socket-dir
as 'process account'
source /home/agent/agent-info.c
try and ssh somewhere:
ssh -i .ssh/process-account-key process at server
Error reading response length from authentication socket.
The disabling of use of group permissions is caused by L912-918 of
ssh-agent.c I commented this code out, rebuilt and the agent account
now works as we require.
if ((euid != 0) && (getuid() != euid)) {
error("uid mismatch: "
"peer euid %u != uid %u",
(u_int) euid, (u_int) getuid());
close(sock);
break;
}
A comma...