Red Hat Bugzilla – Bug 179093
groupadd does not allow POSIX compliant group names
Last modified: 2007-11-30 17:07:09 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Description of problem:
groupadd rejects upper case characters in the group name.
# groupadd FOOBAR
groupadd: FOOBAR is a not a valid group name
IEEE Std 1003.1-2001 specifies that user and group names are composed of characters from the portable filename character set. The portable filename character set is defined as [a-z][A-Z][0-9][._-]. Therefore the group name is valid according to POSIX and I'm very surprised to find that groupadd doesn't accept this group name.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. groupadd FOOBAR
Actual Results: groupadd: FOOBAR is a not a valid group name
Expected Results: The group should be created.
It's fixed in shadow-utils-4.0.3-26.RHEL3 in next update.