search for: u_flag

Displaying 1 result from an estimated 1 matches for "u_flag".

Did you mean: f_flag
2011 May 18
2
Might a patch to ssh-agent to allow relaxing of peer euid check be accepted?
....c --- openssh-5.8p2.orig/ssh-agent.c 2010-11-30 19:50:35.000000000 -0500 +++ openssh-5.8p2.dontbestrict//ssh-agent.c 2011-05-18 10:25:33.000000000 -0400 @@ -137,6 +137,9 @@ /* Default lifetime (0 == forever) */ static int lifetime = 0; +/* Flag for allowing mismatched peer EUIDs */ +static int U_flag = 0; + static void close_socket(SocketEntry *e) { @@ -1023,11 +1026,18 @@ break; } if ((euid != 0) && (getuid() != euid)) { - error("uid mismatch: " - "peer euid %u != uid %u", - (u_int) euid, (u_int) getuid()); - close(sock); -...