Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

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

From: Ben Lindstrom <mouring(at)etoh.eviladmin.org>
Date: Wed Jul 23 2003 - 17:20:42 EDT

OpenSSH_3.2.3 (p1)

3.2.3p1 is rather old. Please upgrade to the current 3.6.1p2 and see if this still happens.

  • Ben

On Wed, 23 Jul 2003, Ramin Dousti wrote:

> 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
>
>
>
> On Wed, Jul 23, 2003 at 10:55:43AM -0500, Schubert, John [NTWK SVCS] wrote:
>
> > Hello,
> > I have an error message popping up in the /var/adm/messages file for sshd that reads:
> > Jul 19 04:31:35 omp sshd[21167]: [ID 800047 auth.crit] fatal: getgroups: Invalid
> > argument
> > Jul 19 05:33:19 omp sshd[15334]: [ID 800047 auth.crit] fatal: getgroups: Invalid
> > argument
> > and continues to repeat with irregularity. I have searched through the Man pages for SSH, SSHd, performed a Google search on the context of the error, and searched the list archives here. I also looked through the sshd_config file for anything out of the ordinary, and it looked ok. I have about 350 machines running SSHd, and I checked a handful of the others and they did not have the errors listed above.
> > Any ideas on what is happening or where I can look? SSHd is running and allowing people to log in. This is OpenSSH_3.2.3 (p1) installed on a Sun Netra T1120 server running Solaris 8.
> > Thanks,
> > John
>
Received on Wed Jul 23 18:26:43 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