[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
groupadd man page
From: |
Keith Roberts |
Subject: |
groupadd man page |
Date: |
Sun, 28 Oct 2007 16:15:03 +0000 (GMT) |
Hi. This is on Fedora Core 6 platform.
From the man page for:
System Management Commands 06/24/2006 GROUPADD(8)
Is this correct:
*snip*
CAVEATS
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_-]*[$]
The description does not seem to match the regular expression.
There is no mention of integer digits in the description.
Is this what you mean for a regular expression, according to
the above description?
# must begin with a lower case letter or an underscore
[a-z_]
# and only lower case letters, underscores, dashes,
# and dollar signs may follow
[a-z_-$]*
Which would give the full regex of:
[a-z_][a-z_-$]*
Or do you mean something like this, including the integer
digits: [a-z_][a-z0-9_-$]*
Groupnames may only be up to 16 characters long.
(line repeated below)
If the groupname already exists in an external group
database such as NIS, groupadd will deny the group
creation request.
Groupnames may only be up to 16 characters long.
*snip*
Kind Regards
Keith Roberts
------------------------------------------------------------
http://www.karsites.net
http://www.raised-from-the-dead.org.uk
This email address is challenge-response protected with
http://www.tmda.net
------------------------------------------------------------
- groupadd man page,
Keith Roberts <=