RE: getgroup invalid argument in /var/adm/messages
From: Schubert, John [NTWK SVCS] (jschub01_at_sprintspectrum.com)
Date: 07/24/03
- Previous message: Ben Lindstrom: "Re: getgroup invalid argument in /var/adm/messages"
- Maybe in reply to: Schubert, John [NTWK SVCS]: "getgroup invalid argument in /var/adm/messages"
- Next in thread: djtech_at_djtech.org: "RE: getgroup invalid argument in /var/adm/messages"
- Reply: djtech_at_djtech.org: "RE: getgroup invalid argument in /var/adm/messages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 23 Jul 2003 17:13:51 -0500 To: "Ramin Dousti" <ramin@cannon.eng.us.uu.net>
The only assigned groups I'm aware of are the GID assigned within /etc/group. I decided to take a look at the server's /etc/group file and was astounded. Their group file was thousands of lines long, with dozens blank or containing only a single name for a group. I have a script that we built for rogue systems which we were taking over sys admin duties that also have a group file out of control. So I will run this script and see if the nagging alarm goes away.
There were so many lines, I couldn't tell you how many groups are in the file. I would estimate 18-25.
Thanks..
John
On Wed, Jul 23, 2003 at 01:20:34PM -0500, Schubert, John [NTWK SVCS] wrote:
<SNIP>
> To ask the next logical question: Where is the NGROUPS_MAX set and the number of groups the calling process is a member of? I'm a relative newby to programming, but would the calling process group list be found with as simple of a command as "groups root", since SSHd is called by root by /etc/rc2.d/S77sshd ??
>
<SNIP>
And the question still remains, does sshd belong to many groups on your system?
Ramin
> <SNIP>
- Previous message: Ben Lindstrom: "Re: getgroup invalid argument in /var/adm/messages"
- Maybe in reply to: Schubert, John [NTWK SVCS]: "getgroup invalid argument in /var/adm/messages"
- Next in thread: djtech_at_djtech.org: "RE: getgroup invalid argument in /var/adm/messages"
- Reply: djtech_at_djtech.org: "RE: getgroup invalid argument in /var/adm/messages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]