2015-11-06 13:34:35 +00:00
|
|
|
diff -up shadow-4.2.1/man/groupmems.8.xml.manfix shadow-4.2.1/man/groupmems.8.xml
|
|
|
|
--- shadow-4.2.1/man/groupmems.8.xml.manfix 2014-03-01 19:59:51.000000000 +0100
|
|
|
|
+++ shadow-4.2.1/man/groupmems.8.xml 2015-11-06 14:21:03.013060324 +0100
|
|
|
|
@@ -179,20 +179,10 @@
|
|
|
|
<refsect1 id='setup'>
|
|
|
|
<title>SETUP</title>
|
|
|
|
<para>
|
|
|
|
- The <command>groupmems</command> executable should be in mode
|
|
|
|
- <literal>2770</literal> as user <emphasis>root</emphasis> and in group
|
|
|
|
- <emphasis>groups</emphasis>. The system administrator can add users to
|
|
|
|
- group <emphasis>groups</emphasis> to allow or disallow them using the
|
|
|
|
- <command>groupmems</command> utility to manage their own group
|
|
|
|
- membership list.
|
|
|
|
+ In this operating system the <command>groupmems</command> executable
|
|
|
|
+ is not setuid and regular users cannot use it to manipulate
|
|
|
|
+ the membership of their own group.
|
|
|
|
</para>
|
|
|
|
-
|
|
|
|
- <programlisting>
|
|
|
|
- $ groupadd -r groups
|
|
|
|
- $ chmod 2770 groupmems
|
|
|
|
- $ chown root.groups groupmems
|
|
|
|
- $ groupmems -g groups -a gk4
|
|
|
|
- </programlisting>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 id='configuration'>
|
2014-11-26 14:58:28 +00:00
|
|
|
diff -up shadow-4.2.1/man/chage.1.xml.manfix shadow-4.2.1/man/chage.1.xml
|
|
|
|
--- shadow-4.2.1/man/chage.1.xml.manfix 2014-03-01 19:59:51.000000000 +0100
|
|
|
|
+++ shadow-4.2.1/man/chage.1.xml 2014-11-26 15:34:51.256978960 +0100
|
|
|
|
@@ -102,6 +102,9 @@
|
|
|
|
Set the number of days since January 1st, 1970 when the password
|
|
|
|
was last changed. The date may also be expressed in the format
|
|
|
|
YYYY-MM-DD (or the format more commonly used in your area).
|
|
|
|
+ If the <replaceable>LAST_DAY</replaceable> is set to
|
|
|
|
+ <emphasis>0</emphasis> the user is forced to change his password
|
|
|
|
+ on the next log on.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2016-01-08 09:02:12 +00:00
|
|
|
diff -up shadow-4.2.1/man/ja/man5/login.defs.5.manfix shadow-4.2.1/man/ja/man5/login.defs.5
|
|
|
|
--- shadow-4.2.1/man/ja/man5/login.defs.5.manfix 2014-03-01 19:59:51.000000000 +0100
|
|
|
|
+++ shadow-4.2.1/man/ja/man5/login.defs.5 2016-01-08 09:58:29.591702354 +0100
|
|
|
|
@@ -147,10 +147,6 @@ 以下の参照表は、
|
|
|
|
shadow パスワード機能のどのプログラムが
|
|
|
|
どのパラメータを使用するかを示したものである。
|
|
|
|
.na
|
|
|
|
-.IP chfn 12
|
|
|
|
-CHFN_AUTH CHFN_RESTRICT
|
|
|
|
-.IP chsh 12
|
|
|
|
-CHFN_AUTH
|
|
|
|
.IP groupadd 12
|
|
|
|
GID_MAX GID_MIN
|
|
|
|
.IP newusers 12
|
2014-11-26 14:58:28 +00:00
|
|
|
diff -up shadow-4.2.1/man/login.defs.5.xml.manfix shadow-4.2.1/man/login.defs.5.xml
|
|
|
|
--- shadow-4.2.1/man/login.defs.5.xml.manfix 2014-03-13 06:52:55.000000000 +0100
|
2016-01-08 09:02:12 +00:00
|
|
|
+++ shadow-4.2.1/man/login.defs.5.xml 2016-01-08 09:59:35.854169787 +0100
|
2014-11-26 14:58:28 +00:00
|
|
|
@@ -162,6 +162,17 @@
|
|
|
|
long numeric parameters is machine-dependent.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
+ <para>
|
|
|
|
+ Please note that the parameters in this configuration file control the
|
|
|
|
+ behavior of the tools from the shadow-utils component. None of these
|
|
|
|
+ tools uses the PAM mechanism, and the utilities that use PAM (such as the
|
|
|
|
+ passwd command) should be configured elsewhere. The only values that
|
|
|
|
+ affect PAM modules are <emphasis>ENCRYPT_METHOD</emphasis> and <emphasis>SHA_CRYPT_MAX_ROUNDS</emphasis>
|
|
|
|
+ for pam_unix module, <emphasis>FAIL_DELAY</emphasis> for pam_faildelay module,
|
|
|
|
+ and <emphasis>UMASK</emphasis> for pam_umask module. Refer to
|
|
|
|
+ pam(8) for more information.
|
|
|
|
+ </para>
|
|
|
|
+
|
|
|
|
<para>The following configuration items are provided:</para>
|
|
|
|
|
|
|
|
<variablelist remap='IP'>
|
2016-01-08 09:02:12 +00:00
|
|
|
@@ -252,26 +263,6 @@
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
- <term>chfn</term>
|
|
|
|
- <listitem>
|
|
|
|
- <para>
|
|
|
|
- <phrase condition="no_pam">CHFN_AUTH</phrase>
|
|
|
|
- CHFN_RESTRICT
|
|
|
|
- <phrase condition="no_pam">LOGIN_STRING</phrase>
|
|
|
|
- </para>
|
|
|
|
- </listitem>
|
|
|
|
- </varlistentry>
|
|
|
|
- <varlistentry>
|
|
|
|
- <term>chgpasswd</term>
|
|
|
|
- <listitem>
|
|
|
|
- <para>
|
|
|
|
- ENCRYPT_METHOD MAX_MEMBERS_PER_GROUP MD5_CRYPT_ENAB
|
|
|
|
- <phrase condition="sha_crypt">SHA_CRYPT_MAX_ROUNDS
|
|
|
|
- SHA_CRYPT_MIN_ROUNDS</phrase>
|
|
|
|
- </para>
|
|
|
|
- </listitem>
|
|
|
|
- </varlistentry>
|
|
|
|
- <varlistentry>
|
|
|
|
<term>chpasswd</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
@@ -282,14 +273,6 @@
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
- <varlistentry condition="no_pam">
|
|
|
|
- <term>chsh</term>
|
|
|
|
- <listitem>
|
|
|
|
- <para>
|
|
|
|
- CHSH_AUTH LOGIN_STRING
|
|
|
|
- </para>
|
|
|
|
- </listitem>
|
|
|
|
- </varlistentry>
|
|
|
|
<!-- expiry: no variables (CONSOLE_GROUPS linked, but not used) -->
|
|
|
|
<!-- faillog: no variables -->
|
|
|
|
<varlistentry>
|
|
|
|
@@ -350,34 +333,6 @@
|
|
|
|
</varlistentry>
|
|
|
|
<!-- id: no variables -->
|
|
|
|
<!-- lastlog: no variables -->
|
|
|
|
- <varlistentry>
|
|
|
|
- <term>login</term>
|
|
|
|
- <listitem>
|
|
|
|
- <para>
|
|
|
|
- <phrase condition="no_pam">CONSOLE</phrase>
|
|
|
|
- CONSOLE_GROUPS DEFAULT_HOME
|
|
|
|
- <phrase condition="no_pam">ENV_HZ ENV_PATH ENV_SUPATH
|
|
|
|
- ENV_TZ ENVIRON_FILE</phrase>
|
|
|
|
- ERASECHAR FAIL_DELAY
|
|
|
|
- <phrase condition="no_pam">FAILLOG_ENAB</phrase>
|
|
|
|
- FAKE_SHELL
|
|
|
|
- <phrase condition="no_pam">FTMP_FILE</phrase>
|
|
|
|
- HUSHLOGIN_FILE
|
|
|
|
- <phrase condition="no_pam">ISSUE_FILE</phrase>
|
|
|
|
- KILLCHAR
|
|
|
|
- <phrase condition="no_pam">LASTLOG_ENAB</phrase>
|
|
|
|
- LOGIN_RETRIES
|
|
|
|
- <phrase condition="no_pam">LOGIN_STRING</phrase>
|
|
|
|
- LOGIN_TIMEOUT LOG_OK_LOGINS LOG_UNKFAIL_ENAB
|
|
|
|
- <phrase condition="no_pam">MAIL_CHECK_ENAB MAIL_DIR MAIL_FILE
|
|
|
|
- MOTD_FILE NOLOGINS_FILE PORTTIME_CHECKS_ENAB
|
|
|
|
- QUOTAS_ENAB</phrase>
|
|
|
|
- TTYGROUP TTYPERM TTYTYPE_FILE
|
|
|
|
- <phrase condition="no_pam">ULIMIT UMASK</phrase>
|
|
|
|
- USERGROUPS_ENAB
|
|
|
|
- </para>
|
|
|
|
- </listitem>
|
|
|
|
- </varlistentry>
|
|
|
|
<!-- logoutd: no variables -->
|
|
|
|
<varlistentry>
|
|
|
|
<term>newgrp / sg</term>
|
|
|
|
@@ -405,17 +360,6 @@
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<!-- nologin: no variables -->
|
|
|
|
- <varlistentry condition="no_pam">
|
|
|
|
- <term>passwd</term>
|
|
|
|
- <listitem>
|
|
|
|
- <para>
|
|
|
|
- ENCRYPT_METHOD MD5_CRYPT_ENAB OBSCURE_CHECKS_ENAB
|
|
|
|
- PASS_ALWAYS_WARN PASS_CHANGE_TRIES PASS_MAX_LEN PASS_MIN_LEN
|
|
|
|
- <phrase condition="sha_crypt">SHA_CRYPT_MAX_ROUNDS
|
|
|
|
- SHA_CRYPT_MIN_ROUNDS</phrase>
|
|
|
|
- </para>
|
|
|
|
- </listitem>
|
|
|
|
- </varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>pwck</term>
|
|
|
|
<listitem>
|
|
|
|
@@ -442,32 +386,6 @@
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
- <varlistentry>
|
|
|
|
- <term>su</term>
|
|
|
|
- <listitem>
|
|
|
|
- <para>
|
|
|
|
- <phrase condition="no_pam">CONSOLE</phrase>
|
|
|
|
- CONSOLE_GROUPS DEFAULT_HOME
|
|
|
|
- <phrase condition="no_pam">ENV_HZ ENVIRON_FILE</phrase>
|
|
|
|
- ENV_PATH ENV_SUPATH
|
|
|
|
- <phrase condition="no_pam">ENV_TZ LOGIN_STRING MAIL_CHECK_ENAB
|
|
|
|
- MAIL_DIR MAIL_FILE QUOTAS_ENAB</phrase>
|
|
|
|
- SULOG_FILE SU_NAME
|
|
|
|
- <phrase condition="no_pam">SU_WHEEL_ONLY</phrase>
|
|
|
|
- SYSLOG_SU_ENAB
|
|
|
|
- <phrase condition="no_pam">USERGROUPS_ENAB</phrase>
|
|
|
|
- </para>
|
|
|
|
- </listitem>
|
|
|
|
- </varlistentry>
|
|
|
|
- <varlistentry>
|
|
|
|
- <term>sulogin</term>
|
|
|
|
- <listitem>
|
|
|
|
- <para>
|
|
|
|
- ENV_HZ
|
|
|
|
- <phrase condition="no_pam">ENV_TZ</phrase>
|
|
|
|
- </para>
|
|
|
|
- </listitem>
|
|
|
|
- </varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>useradd</term>
|
|
|
|
<listitem>
|
2015-11-06 13:34:35 +00:00
|
|
|
diff -up shadow-4.2.1/man/shadow.5.xml.manfix shadow-4.2.1/man/shadow.5.xml
|
|
|
|
--- shadow-4.2.1/man/shadow.5.xml.manfix 2014-03-01 19:59:51.000000000 +0100
|
|
|
|
+++ shadow-4.2.1/man/shadow.5.xml 2015-10-27 16:54:29.304231353 +0100
|
|
|
|
@@ -208,8 +208,8 @@
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
After expiration of the password and this expiration period is
|
|
|
|
- elapsed, no login is possible using the current user's
|
|
|
|
- password. The user should contact her administrator.
|
|
|
|
+ elapsed, no login is possible for the user.
|
|
|
|
+ The user should contact her administrator.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
An empty field means that there are no enforcement of an
|
2014-11-26 14:58:28 +00:00
|
|
|
diff -up shadow-4.2.1/man/useradd.8.xml.manfix shadow-4.2.1/man/useradd.8.xml
|
|
|
|
--- shadow-4.2.1/man/useradd.8.xml.manfix 2014-11-26 15:34:51.234978891 +0100
|
|
|
|
+++ shadow-4.2.1/man/useradd.8.xml 2014-11-26 15:34:51.257978963 +0100
|
|
|
|
@@ -347,11 +347,16 @@
|
|
|
|
<option>CREATE_HOME</option> is not enabled, no home
|
|
|
|
directories are created.
|
|
|
|
</para>
|
|
|
|
+ <para>
|
|
|
|
+ The directory where the user's home directory is created must
|
|
|
|
+ exist and have proper SELinux context and permissions. Otherwise
|
|
|
|
+ the user's home directory cannot be created or accessed.
|
|
|
|
+ </para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term>
|
|
|
|
- <option>-M</option>
|
|
|
|
+ <option>-M</option>, <option>--no-create-home</option>
|
|
|
|
</term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
diff -up shadow-4.2.1/man/usermod.8.xml.manfix shadow-4.2.1/man/usermod.8.xml
|
|
|
|
--- shadow-4.2.1/man/usermod.8.xml.manfix 2014-03-01 19:59:51.000000000 +0100
|
|
|
|
+++ shadow-4.2.1/man/usermod.8.xml 2014-11-26 15:34:51.257978963 +0100
|
|
|
|
@@ -132,7 +132,8 @@
|
|
|
|
If the <option>-m</option>
|
|
|
|
option is given, the contents of the current home directory will
|
|
|
|
be moved to the new home directory, which is created if it does
|
|
|
|
- not already exist.
|
|
|
|
+ not already exist. If the current home directory does not exist
|
|
|
|
+ the new home directory will not be created.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
@@ -256,7 +257,8 @@
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Move the content of the user's home directory to the new
|
|
|
|
- location.
|
|
|
|
+ location. If the current home directory does not exist
|
|
|
|
+ the new home directory will not be created.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
This option is only valid in combination with the
|