Re: getgroup invalid argument in /var/adm/messages
From: Greg Wooledge (wooledg_at_eeg.ccf.org)
Date: 07/23/03
- Previous message: Schubert, John [NTWK SVCS]: "RE: getgroup invalid argument in /var/adm/messages"
- In reply to: Schubert, John [NTWK SVCS]: "RE: getgroup invalid argument in /var/adm/messages"
- Next in thread: Ramin Dousti: "Re: getgroup invalid argument in /var/adm/messages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 23 Jul 2003 15:20:03 -0400 To: secureshell@securityfocus.com
On Wed, Jul 23, 2003 at 01:20:34PM -0500, Schubert, John [NTWK SVCS] wrote:
> To ask the next logical question: Where is the NGROUPS_MAX set
It's compiled into the kernel, and the value can typically be discovered
in a header file somewhere under /usr/include. For example, on HP-UX
10.20:
imadev:~$ find /usr/include -print | xargs grep NGROUPS_MAX
/usr/include/sys/getaccess.h:#include <limits.h> /* just for NGROUPS_MAX */
/usr/include/sys/unistd.h:# define _SC_NGROUPS_MAX 3 /* NGROUPS_MAX: Max # of simultaneous
/usr/include/limits.h:# define _POSIX_NGROUPS_MAX 0 /* The number of simultaneous
/usr/include/limits.h:# define NGROUPS_MAX 20 /* Maximum number of simultaneous
> and the
> number of groups the calling process is a member of?
That's trickier, unless you're prepared to edit the source code and
stick a system("/usr/bin/id"); in it. I can't think of any good way. :(
- Previous message: Schubert, John [NTWK SVCS]: "RE: getgroup invalid argument in /var/adm/messages"
- In reply to: Schubert, John [NTWK SVCS]: "RE: getgroup invalid argument in /var/adm/messages"
- Next in thread: Ramin Dousti: "Re: getgroup invalid argument in /var/adm/messages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|