Paul F. Williams said: > Is there really a limit? Or is there just a mistake in > the two group programs? > > Is there a problem with using such long names.
there is a limit. Though the limit may vary from OS to OS. Generally good practice is to limit to 8 characters or less for usernames and group names. This is for compadiblity. Also most systems do not allow a user to join more then 16 groups, though some permit 32(haven't seen one that does more then 32 recently). Much of it I think is legacy limits from long ago that have just stuck around. Linux is much more flexible in what it can support, which is why you can get the long usernames, the long passwords, the various password encryption schemes.. Many NFS implimentations only support 16 groups, and some only support 8 character usernames/group names. from the looks of it the limit on my linux systems seems to be 16 characters for groups. my freebsd 4.7 machine goes to 16 characters as well. my solaris 8 machine complains if the group is longer then 8 characters but it still adds the group, even a 52-character group, I suspect this group name would not work, but why it adds it to the group file despite groupadd saying it's too long is........a bug? probably. nate -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list