* man/login.defs.d/SYS_UID_MAX.xml, man/login.defs.d/SYS_GID_MAX.xml:

Document new variables.
* man/newusers.8.xml, man/login.defs.5.xml,
  man/login.defs.d/GID_MAX.xml, man/login.defs.d/UID_MAX.xml:
  newusers uses now the GID_MAX, GID_MIN, UID_MAX, UID_MIN,
  SYS_GID_MAX, SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
* man/groupadd.8.xml, man/login.defs.5.xml: groupadd uses now the
  SYS_GID_MAX, and SYS_GID_MIN variables.
* man/login.defs.5.xml: useradd uses now the SYS_GID_MAX,
  SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
This commit is contained in:
nekral-guest 2008-02-25 21:17:18 +00:00
parent 77f722ae9d
commit 7ce94164c7
8 changed files with 63 additions and 9 deletions

View File

@ -1,3 +1,16 @@
2008-02-25 Nicolas François <nicolas.francois@centraliens.net>
* man/login.defs.d/SYS_UID_MAX.xml, man/login.defs.d/SYS_GID_MAX.xml:
Document new variables.
* man/newusers.8.xml, man/login.defs.5.xml,
man/login.defs.d/GID_MAX.xml, man/login.defs.d/UID_MAX.xml:
newusers uses now the GID_MAX, GID_MIN, UID_MAX, UID_MIN,
SYS_GID_MAX, SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
* man/groupadd.8.xml, man/login.defs.5.xml: groupadd uses now the
SYS_GID_MAX, and SYS_GID_MIN variables.
* man/login.defs.5.xml: useradd uses now the SYS_GID_MAX,
SYS_GID_MIN, SYS_UID_MAX, and SYS_UID_MIN variables.
2008-02-25 Nicolas François <nicolas.francois@centraliens.net>
* lib/getdef.c: Added missing SYS_GID_MAX, SYS_GID_MIN,

View File

@ -3,6 +3,7 @@
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!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">
]>
<refentry id='groupadd.8'>
<!-- $Id$ -->
@ -138,6 +139,7 @@
<variablelist>
&GID_MAX; <!-- documents also GID_MIN -->
&MAX_MEMBERS_PER_GROUP;
&SYS_GID_MAX; <!-- documents also SYS_GID_MIN -->
</variablelist>
</refsect1>

View File

@ -157,6 +157,8 @@
&SULOG_FILE;
&SU_NAME;
&SU_WHEEL_ONLY;
&SYS_GID_MAX; <!-- documents also SYS_GID_MIN -->
&SYS_UID_MAX; <!-- documents also SYS_UID_MIN -->
&SYSLOG_SG_ENAB;
&SYSLOG_SU_ENAB;
&TTYGROUP;
@ -228,7 +230,10 @@
<varlistentry>
<term>groupadd</term>
<listitem>
<para>GID_MAX GID_MIN MAX_MEMBERS_PER_GROUP</para>
<para>
GID_MAX GID_MIN MAX_MEMBERS_PER_GROUP
SYS_GID_MAX SYS_GID_MIN
</para>
</listitem>
</varlistentry>
<varlistentry>
@ -311,9 +316,13 @@
<term>newusers</term>
<listitem>
<para>
ENCRYPT_METHOD MAX_MEMBERS_PER_GROUP MD5_CRYPT_ENAB
ENCRYPT_METHOD
GID_MAX GID_MIN
MAX_MEMBERS_PER_GROUP MD5_CRYPT_ENAB
PASS_MAX_DAYS PASS_MIN_DAYS PASS_WARN_AGE SHA_CRYPT_MAX_ROUNDS
SHA_CRYPT_MIN_ROUNDS UMASK
SHA_CRYPT_MIN_ROUNDS
SYS_GID_MAX SYS_GID_MIN SYS_UID_MAX SYS_UID_MIN UID_MAX UID_MIN
UMASK
</para>
</listitem>
</varlistentry>
@ -377,7 +386,7 @@
GID_MAX GID_MIN
MAIL_DIR MAX_MEMBERS_PER_GROUP
PASS_MAX_DAYS PASS_MIN_DAYS PASS_WARN_AGE
UID_MAX UID_MIN
SYS_GID_MAX SYS_GID_MIN SYS_UID_MAX SYS_UID_MIN UID_MAX UID_MIN
UMASK
</para>
</listitem>

View File

@ -3,8 +3,9 @@
<term><option>GID_MIN</option> (number)</term>
<listitem>
<para>
Range of group IDs to choose from for the <command>useradd</command>
and <command>groupadd</command> programs.
Range of group IDs used for the creation of regular groups by
<command>useradd</command>, <command>useradd</command>, or
<command>newusers</command>.
</para>
</listitem>
</varlistentry>

View File

@ -0,0 +1,11 @@
<varlistentry>
<term><option>SYS_GID_MAX</option> (number)</term>
<term><option>SYS_GID_MIN</option> (number)</term>
<listitem>
<para>
Range of group IDs used for the creation of system groups by
<command>useradd</command>, <command>groupadd</command>, or
<command>newusers</command>.
</para>
</listitem>
</varlistentry>

View File

@ -0,0 +1,10 @@
<varlistentry>
<term><option>SYS_UID_MAX</option> (number)</term>
<term><option>SYS_UID_MIN</option> (number)</term>
<listitem>
<para>
Range of user IDs used for the creation of system users by
<command>useradd</command> or <command>newusers</command>.
</para>
</listitem>
</varlistentry>

View File

@ -3,8 +3,8 @@
<term><option>UID_MIN</option> (number)</term>
<listitem>
<para>
Range of user IDs to choose from for the <command>useradd</command>
program.
Range of user IDs used for the creation of regular users by
<command>useradd</command> or <command>newusers</command>.
</para>
</listitem>
</varlistentry>

View File

@ -2,12 +2,16 @@
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY ENCRYPT_METHOD SYSTEM "login.defs.d/ENCRYPT_METHOD.xml">
<!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 MD5_CRYPT_ENAB SYSTEM "login.defs.d/MD5_CRYPT_ENAB.xml">
<!ENTITY PASS_MAX_DAYS SYSTEM "login.defs.d/PASS_MAX_DAYS.xml">
<!ENTITY PASS_MIN_DAYS SYSTEM "login.defs.d/PASS_MIN_DAYS.xml">
<!ENTITY PASS_WARN_AGE SYSTEM "login.defs.d/PASS_WARN_AGE.xml">
<!ENTITY SHA_CRYPT_MIN_ROUNDS SYSTEM "login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml">
<!ENTITY SYS_GID_MAX SYSTEM "login.defs.d/SYS_GID_MAX.xml">
<!ENTITY SYS_UID_MAX SYSTEM "login.defs.d/SYS_UID_MAX.xml">
<!ENTITY UID_MAX SYSTEM "login.defs.d/UID_MAX.xml">
<!ENTITY UMASK SYSTEM "login.defs.d/UMASK.xml">
]>
@ -113,12 +117,16 @@
</para>
<variablelist>
&ENCRYPT_METHOD;
&GID_MAX; <!-- documents also GID_MIN -->
&MAX_MEMBERS_PER_GROUP;
&MD5_CRYPT_ENAB;
&PASS_MAX_DAYS;
&PASS_MIN_DAYS;
&PASS_WARN_AGE;
&SHA_CRYPT_MIN_ROUNDS; <!--This also document SHA_CRYPT_MAX_ROUNDS-->
&SHA_CRYPT_MIN_ROUNDS; <!-- documents also SHA_CRYPT_MAX_ROUNDS-->
&SYS_GID_MAX; <!-- documents also SYS_GID_MIN -->
&SYS_UID_MAX; <!-- documents also SYS_UID_MIN -->
&UID_MAX; <!-- documents also UID_MIN -->
&UMASK;
</variablelist>
</refsect1>