README.privsep

Tim Rice tim at multitalents.net
Tue Jun 25 11:56:36 EST 2002


On Mon, 24 Jun 2002, Kevin Steves wrote:

> Hi,
>
> If you are on UnixWare 7 or OpenUNIX 8 do this additional step.
> 	# ln /usr/lib/.ns.so /usr/lib/ns.so.1

Drop these two lines. If we are not going to do something like the patch
below to fix the initgroups problem on UnixWare and some Linux, then
add some lines like

On UnixWare, OpenUNIX, and some Linux systems you will have to
	# mkdir /var/empty/etc
	# touch /var/empty/etc/group


--- session.c.orig	Mon Jun 24 07:29:13 2002
+++ session.c	Mon Jun 24 18:49:49 2002
@@ -1180,6 +1180,7 @@
 			exit(1);
 		}
 		/* Initialize the group list. */
+		if (strcmp(pw->pw_name, SSH_PRIVSEP_USER))
 		if (initgroups(pw->pw_name, pw->pw_gid) < 0) {
 			perror("initgroups");
 			exit(1);

-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net






More information about the openssh-unix-dev mailing list