AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  /etc/group and groups not working correctly under AIX 5.3 ML 4

    Posted Thu April 06, 2006 12:05 PM

    Originally posted by: SystemAdmin


    /etc/group and groups not working correctly on AIX 5.3 ML4. This is preventing groups/departments/projects from access information. Splitting into separate groups is not a solution.

    champcsm>oslevel -r
    5300-04

    champcsm>grep byab343 /etc/group
    utcsr:!:102:byab337,byab340,byab343,byab347,byab350,byab355,byab357,byab362,byab363,byab371
    byaa:!:1904:byab337,byab340,byab343,byab347,byab350,byab355,byab357,harrey,jcasey,perdue
    byab:!:1905:byab337,byab340,byab343,byab347,byab350,byab355,byab357,byab362,byab363,byab371
    grace:!:2222:byab340,byab343,byab347,byab350,byab355,byab362,byab371,byab375,byab400,byab411
    jason:!:2226:byaa713,byab343

    champcsm>groups byab343
    byab343 : utcsr jason

    champcsm>grep grace /etc/group
    grace:!:2222:ase381a,ase381b,ase381c,ase381d,ase381e,ase381f,ase381g,ase381h,ase381i,ase381j
    grace:!:2222:ase381k,ase381l,ase381m,ase381n,ase381o,ase381p,ase381q,ase381r,ase381s
    grace:!:2222:ase381t,ase381u,ase381v,byaa660,byaa664,byaa665,byaa705,byaa713,byaa723
    grace:!:2222:byaa731,byaa734,byaa736,byaa744,byaa745,byaa746,byaa755,byaa760,byaa764
    grace:!:2222:byaa772,byaa774,byab305,byab310,byab314,byab317,byab335,byab337,byab340
    grace:!:2222:byab343,byab347,byab350,byab355,byab362,byab371,byab375,byab400,byab411
    grace:!:2222:byab412,byac726,chona,karl,lixh,lwilson,troney


  • 2.  Re: /etc/group and groups not working correctly under AIX 5.3 ML 4

    Posted Thu April 06, 2006 12:55 PM

    Originally posted by: SystemAdmin


    This is just a hunch, but are the groups maintained externally to AIX? Looks to me like there are some extraneous characters in your /etc/group file that are not visible. I've seen something similar if the /etc/group file is edited on windows and them ftp'd as binary rather than ascii. If you vi the group file, I'm suspecting you will see ^M characters or something similar.

    Gary Galloway
    Ankhu Consultion
    ggallow@ankhu.com


  • 3.  Re: /etc/group and groups not working correctly under AIX 5.3 ML 4

    Posted Thu April 06, 2006 01:18 PM

    Originally posted by: SystemAdmin


    Nope, no special characters. That would be nice. ;-)

    I did an closed APAR at IBM, but no patch:

    IY78339: COMMANDS FAIL WHEN A GROUP HAS LARGE NUMBER OF USERS
    http://www-1.ibm.com/support/docview.wss?uid=isg1IY78339


  • 4.  Re: /etc/group and groups not working correctly under AIX 5.3 ML 4

    Posted Fri April 07, 2006 10:20 AM

    Originally posted by: SystemAdmin


    Possible work around for a group with about 200 users:

    Only have a single group entry in /etc/group for each group, instead of multiple entries. Each single group entry should have a logical record length less than 2048 characters. This should allow a group to contain about (2048/10) 200 users.

    I have tested this for group entries for of 819 characters or about 80 users.