* man/groupadd.8.xml, configure.in, man/config.xml.in: Use the
real group name length limit in the documentation.
This commit is contained in:
parent
3cb730bcfe
commit
4c7d798307
@ -1,3 +1,8 @@
|
||||
2008-12-23 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* man/groupadd.8.xml, configure.in, man/config.xml.in: Use the
|
||||
real group name length limit in the documentation.
|
||||
|
||||
2008-12-23 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/Makefile.am: Only link with the needed library. When
|
||||
|
@ -264,6 +264,8 @@ elif test "$with_group_name_max_length" = "yes" ; then
|
||||
with_group_name_max_length=16
|
||||
fi
|
||||
AC_DEFINE_UNQUOTED(GROUP_NAME_MAX_LENGTH, $with_group_name_max_length, [max group name length])
|
||||
AC_SUBST(GROUP_NAME_MAX_LENGTH)
|
||||
GROUP_NAME_MAX_LENGTH="$with_group_name_max_length"
|
||||
|
||||
AM_CONDITIONAL(USE_SHA_CRYPT, test "x$with_sha_crypt" = "xyes")
|
||||
if test "$with_sha_crypt" = "yes"; then
|
||||
@ -481,6 +483,7 @@ AC_CONFIG_FILES([
|
||||
po/Makefile.in
|
||||
doc/Makefile
|
||||
man/Makefile
|
||||
man/config.xml
|
||||
man/po/Makefile.in
|
||||
man/cs/Makefile
|
||||
man/de/Makefile
|
||||
|
1
man/config.xml.in
Normal file
1
man/config.xml.in
Normal file
@ -0,0 +1 @@
|
||||
<!ENTITY GROUP_NAME_MAX_LENGTH '@GROUP_NAME_MAX_LENGTH@'>
|
@ -33,6 +33,8 @@
|
||||
<!ENTITY GID_MAX SYSTEM "login.defs.d/GID_MAX.xml">
|
||||
<!ENTITY MAX_MEMBERS_PER_GROUP SYSTEM "login.defs.d/MAX_MEMBERS_PER_GROUP.xml">
|
||||
<!ENTITY SYS_GID_MAX SYSTEM "login.defs.d/SYS_GID_MAX.xml">
|
||||
<!ENTITY % config SYSTEM "config.xml">
|
||||
%config;
|
||||
]>
|
||||
<refentry id='groupadd.8'>
|
||||
<!-- $Id$ -->
|
||||
@ -215,7 +217,7 @@
|
||||
may follow. In regular expression terms: [a-z_][a-z0-9_-]*[$]?
|
||||
</para>
|
||||
<para>
|
||||
Groupnames may only be up to 16 characters long.
|
||||
Groupnames may only be up to &GROUP_NAME_MAX_LENGTH; characters long.
|
||||
</para>
|
||||
<para>
|
||||
You may not add a NIS or LDAP group. This must be performed on the
|
||||
|
Loading…
Reference in New Issue
Block a user