FW: can not create groupnames or usernames with Upper and lowercharacters to-gether(Ex: XXXggg)

Padiyath Sreekumaran kumar.padiyath at psi.ch
Tue Sep 5 05:52:09 UTC 2006


  Hello,
   I forgot to mention that I also tried the following format
   without success:

   groupadd -g 999888 gggXXX

   I tried this on another system with RedHar 4.2 installation
   and it works.

   Any help is appreciated.

   Regards,
   Kumar

-----Original Message-----
From: Manuel Arostegui Ramirez [mailto:manuel at todo-linux.com] 
Sent: Sonntag, 3. September 2006 12:14
To: General Red Hat Linux discussion list
Subject: Re: can not create groupnames or usernames with Upper and lowercharacters to-gether(Ex: XXXggg)

El Domingo, 3 de Septiembre de 2006 12:08, Padiyath Sreekumaran escribió:
>   Hello,
>
>   Iam OS RedHat 3.0. When I run the following command from root account
> I get the
>
>   error:
>
>
>
>
>
> l_kumar]$ /usr/sbin/groupadd -g 999888 XXXggg
>
> groupadd: XXXggg is a not a valid group name
>
>

[root at Arbusto ~]# groupadd -g 999888 XXXggg
[root at Arbusto ~]# cat /etc/group | grep X
XXXggg:x:999888:


>From the man:
 Groupnames must begin with a lower case letter or an underscore, and
       only lower case letters, underscores, dashes, and dollar signs may
       follow. In regular expression terms: [a-z_][a-z0-9_-]*[$]

-- 
Manuel Arostegui Ramirez.

Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.






More information about the redhat-list mailing list