[861] in NetBSD-Development

home help back first fref pref prev next nref lref last post

Re: PAGs and xterms

daemon@ATHENA.MIT.EDU (Richard Basch)
Thu Jul 6 17:29:01 1995

Date: Thu, 6 Jul 1995 17:26:51 -0400
To: Greg Hudson <ghudson@MIT.EDU>
Cc: netbsd-dev@MIT.EDU, netbsd-afs@MIT.EDU
In-Reply-To: Greg Hudson's message of Thu, 6 Jul 1995 03:54:31 -0400,
	<199507060754.DAA23488@glacier.MIT.EDU>
From: "Richard Basch" <basch@MIT.EDU>


   Date: Thu, 6 Jul 1995 03:54:31 -0400
   From: Greg Hudson <ghudson@MIT.EDU>


   Using a short program /mit/ghudson/tools/testpag.c, I determined that
   under Ultrix, initgroups() doesn't strip out the PAG groups, whereas
   under NetBSD it does.

   It would be desirable to have the NetBSD initgroups() exhibit the same
   behavior as the Ultrix initgroups(), so that we can give a pag to
   users when they log in.  I will attempt to figure out how this is done
   under Ultrix and how hard/gross it would be to do the same under
   NetBSD, but I don't expect to find anything out on my own.

This sounds like the "setgroups" system call has not been modified to
preserve the first two groups, if they indicate a PAG.

-Richard

home help back first fref pref prev next nref lref last post