* man/usermod.8.xml, man/userdel.8.xml, man/useradd.8.xml:
Harmonize formatting of login.defs and default/useradd variables. Use an <option> tag. * man/usermod.8.xml: Added reference to gshadow(5). * man/login.defs.d/USERDEL_CMD.xml: Shorten the lines of the USERDEL_CMD example.
This commit is contained in:
parent
37bda83dfc
commit
39b17ee5d5
@ -1,3 +1,12 @@
|
|||||||
|
2009-05-21 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* man/usermod.8.xml, man/userdel.8.xml, man/useradd.8.xml:
|
||||||
|
Harmonize formatting of login.defs and default/useradd variables.
|
||||||
|
Use an <option> tag.
|
||||||
|
* man/usermod.8.xml: Added reference to gshadow(5).
|
||||||
|
* man/login.defs.d/USERDEL_CMD.xml: Shorten the lines of the
|
||||||
|
USERDEL_CMD example.
|
||||||
|
|
||||||
2009-05-21 Nicolas François <nicolas.francois@centraliens.net>
|
2009-05-21 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* src/su.c: Use a boolean instead of 0.
|
* src/su.c: Use a boolean instead of 0.
|
||||||
|
@ -122,7 +122,7 @@
|
|||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Example: <option>-K </option><replaceable>GID_MIN</replaceable>=<replaceable>100</replaceable>
|
Example: <option>-K </option><replaceable>GID_MIN</replaceable>=<replaceable>100</replaceable>
|
||||||
<option> -K </option><replaceable>GID_MAX</replaceable>=<replaceable>499</replaceable>
|
<option>-K </option><replaceable>GID_MAX</replaceable>=<replaceable>499</replaceable>
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Note: <option>-K </option>
|
Note: <option>-K </option>
|
||||||
|
@ -58,7 +58,8 @@ crontab -r -u $1
|
|||||||
# Remove at jobs.
|
# Remove at jobs.
|
||||||
# Note that it will remove any jobs owned by the same UID,
|
# Note that it will remove any jobs owned by the same UID,
|
||||||
# even if it was shared by a different username.
|
# even if it was shared by a different username.
|
||||||
find /var/spool/cron/atjobs -name "[^.]*" -type f -user $1 -exec rm {} \;
|
AT_SPOOL_DIR=/var/spool/cron/atjobs
|
||||||
|
find $AT_SPOOL_DIR -name "[^.]*" -type f -user $1 -delete \;
|
||||||
|
|
||||||
# Remove print jobs.
|
# Remove print jobs.
|
||||||
lprm $1
|
lprm $1
|
||||||
|
@ -194,7 +194,7 @@
|
|||||||
<para>
|
<para>
|
||||||
If not specified, <command>useradd</command> will use the
|
If not specified, <command>useradd</command> will use the
|
||||||
default inactivity period specified by the
|
default inactivity period specified by the
|
||||||
<option>INACTIVE</option> variable in the
|
<option>INACTIVE</option> variable in
|
||||||
<filename>/etc/default/useradd</filename>, or -1 by default.
|
<filename>/etc/default/useradd</filename>, or -1 by default.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
@ -279,8 +279,10 @@
|
|||||||
</term>
|
</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Overrides <filename>/etc/login.defs</filename> defaults (UID_MIN, UID_MAX, UMASK,
|
Overrides <filename>/etc/login.defs</filename> defaults
|
||||||
PASS_MAX_DAYS and others).
|
(<option>UID_MIN</option>, <option>UID_MAX</option>,
|
||||||
|
<option>UMASK</option>, <option>PASS_MAX_DAYS</option>
|
||||||
|
and others).
|
||||||
<para>
|
<para>
|
||||||
</para>
|
</para>
|
||||||
Example: <option>-K </option><replaceable>PASS_MAX_DAYS</replaceable>=<replaceable>-1</replaceable>
|
Example: <option>-K </option><replaceable>PASS_MAX_DAYS</replaceable>=<replaceable>-1</replaceable>
|
||||||
@ -349,7 +351,7 @@
|
|||||||
<para>
|
<para>
|
||||||
Do not create a group with the same name as the user, but
|
Do not create a group with the same name as the user, but
|
||||||
add the user to the group specified by the <option>-g</option>
|
add the user to the group specified by the <option>-g</option>
|
||||||
option or by the GROUP variable in
|
option or by the <option>GROUP</option> variable in
|
||||||
<filename>/etc/default/useradd</filename>.
|
<filename>/etc/default/useradd</filename>.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
|
@ -83,7 +83,7 @@
|
|||||||
the user's home directory and mail spool, even if another
|
the user's home directory and mail spool, even if another
|
||||||
user uses the same home directory or if the mail spool is not
|
user uses the same home directory or if the mail spool is not
|
||||||
owned by the specified user. If
|
owned by the specified user. If
|
||||||
<emphasis>USERGROUPS_ENAB</emphasis> is defined to <emphasis
|
<option>USERGROUPS_ENAB</option> is defined to <emphasis
|
||||||
remap='I'>yes</emphasis> in <filename>/etc/login.defs</filename>
|
remap='I'>yes</emphasis> in <filename>/etc/login.defs</filename>
|
||||||
and if a group exists with the same name as the deleted user,
|
and if a group exists with the same name as the deleted user,
|
||||||
then this group will be removed, even if it is still the primary
|
then this group will be removed, even if it is still the primary
|
||||||
@ -113,7 +113,7 @@
|
|||||||
deleted manually.
|
deleted manually.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
The mail spool is defined by the <emphasis>MAIL_DIR</emphasis>
|
The mail spool is defined by the <option>MAIL_DIR</option>
|
||||||
variable in the <filename>login.defs</filename> file.
|
variable in the <filename>login.defs</filename> file.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
@ -233,7 +233,7 @@
|
|||||||
<para>You may not remove any NIS attributes on a NIS client. This must
|
<para>You may not remove any NIS attributes on a NIS client. This must
|
||||||
be performed on the NIS server.
|
be performed on the NIS server.
|
||||||
</para>
|
</para>
|
||||||
<para>If <emphasis>USERGROUPS_ENAB</emphasis> is defined to <emphasis
|
<para>If <option>USERGROUPS_ENAB</option> is defined to <emphasis
|
||||||
remap='I'>yes</emphasis> in <filename>/etc/login.defs</filename>,
|
remap='I'>yes</emphasis> in <filename>/etc/login.defs</filename>,
|
||||||
<command>userdel</command> will delete the group with the same name
|
<command>userdel</command> will delete the group with the same name
|
||||||
as the user. To avoid inconsistencies in the passwd and group
|
as the user. To avoid inconsistencies in the passwd and group
|
||||||
|
@ -315,7 +315,7 @@
|
|||||||
password), you should also set the
|
password), you should also set the
|
||||||
<replaceable>EXPIRE_DATE</replaceable> (for example to
|
<replaceable>EXPIRE_DATE</replaceable> (for example to
|
||||||
<replaceable>99999</replaceable>, or to the
|
<replaceable>99999</replaceable>, or to the
|
||||||
<replaceable>EXPIRE</replaceable> value from
|
<option>EXPIRE</option> value from
|
||||||
<filename>/etc/default/useradd</filename>).
|
<filename>/etc/default/useradd</filename>).
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
@ -377,6 +377,12 @@
|
|||||||
<para>Group account information.</para>
|
<para>Group account information.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry condition="gshadow">
|
||||||
|
<term><filename>/etc/gshadow</filename></term>
|
||||||
|
<listitem>
|
||||||
|
<para>Secure group account information.</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><filename>/etc/passwd</filename></term>
|
<term><filename>/etc/passwd</filename></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user