Subject: CVS commit: src/lib/libpam/modules/pam_ssh
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 02/27/2005 01:16:27
Module Name:	src
Committed By:	christos
Date:		Sun Feb 27 01:16:27 UTC 2005

Modified Files:
	src/lib/libpam/modules/pam_ssh: pam_ssh.c

Log Message:
NetBSD does not allow setuid(user) when euid=user, and ruid=0. Change
the logic for setting the uid/gid/groups for the agent around and also
add error checking. I.e. Don't exec the agent, if we could not set
the proper environment for it. Add a few more debugging lines. Now ssh
authentication works through xdm.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/lib/libpam/modules/pam_ssh/pam_ssh.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.