Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: getgroup invalid argument in /var/adm/messages

From: Ramin Dousti <ramin(at)cannon.eng.us.uu.net>
Date: Wed Jul 23 2003 - 13:47:40 EDT

It looks like the message is coming from:

uidswap.c line 70:

        saved_egroupslen = getgroups(NGROUPS_MAX, saved_egroups);
        if (saved_egroupslen < 0)
                fatal("getgroups: %.100s", strerror(errno));

>From the man pages on getgrroups:

...

     getgroups() will fail if:

     EINVAL         The value of gidsetsize is non-zero and  less
                    than  the  number  of supplementary group IDs
                    set for the calling process.
...

It means that the calling process (sshd) belongs to more groups than NGROUPS_MAX is defined for. Is that the case?

Ramin

Do you need help?X

On Wed, Jul 23, 2003 at 10:55:43AM -0500, Schubert, John [NTWK SVCS] wrote:

> Hello,
Received on Wed Jul 23 15:00:57 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:03:01 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library