Description: let ssh-agent to determine the apropriate shell style
 This was rendered possible by making the ssh-agent possessing
 the user UID.
Origin: debian
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2013-07-06

--- a/pam_ssh.c
+++ b/pam_ssh.c
@@ -346,7 +346,7 @@
 	sigset_t sigmask;		/* blocked signal mask */
 	const char *tmpdir; /* TMPDIR environment variable value */
 	char env_tmpdir[8+MAXPATHLEN]; /* TMPDIR=$TMPDIR env equation to pass to execve() */
-	char *arg[3], *env[2];		/* to pass to execve() */
+	char *arg[2], *env[2];		/* to pass to execve() */
 	int retval;			/* from calls */
 
 	if (pipe(child_pipe) < 0) {
@@ -414,8 +414,7 @@
 		sigprocmask(SIG_SETMASK, &sigmask, NULL);
 
 		arg[0] = "ssh-agent";
-		arg[1] = "-s";
-		arg[2] = NULL;
+		arg[1] = NULL;
 		env[0] = NULL;
 		env[1] = NULL;
 
