|
|
78f74e |
diff -up shadow-4.1.5.1/man/login.defs.5.xml.manfix shadow-4.1.5.1/man/login.defs.5.xml
|
|
|
78f74e |
--- shadow-4.1.5.1/man/login.defs.5.xml.manfix 2012-05-25 13:45:28.000000000 +0200
|
|
|
78f74e |
+++ shadow-4.1.5.1/man/login.defs.5.xml 2014-02-12 11:18:36.126334872 +0100
|
|
|
78f74e |
@@ -160,6 +160,17 @@
|
|
|
78f74e |
long numeric parameters is machine-dependent.
|
|
|
78f74e |
</para>
|
|
|
78f74e |
|
|
|
78f74e |
+ <para>
|
|
|
78f74e |
+ Please note that the parameters in this configuration file control the
|
|
|
78f74e |
+ behavior of the tools from the shadow-utils component. None of these
|
|
|
78f74e |
+ tools uses the PAM mechanism, and the utilities that use PAM (such as the
|
|
|
78f74e |
+ passwd command) should be configured elsewhere. The only values that
|
|
|
78f74e |
+ affect PAM modules are <emphasis>ENCRYPT_METHOD</emphasis> and <emphasis>SHA_CRYPT_MAX_ROUNDS</emphasis>
|
|
|
78f74e |
+ for pam_unix module, <emphasis>FAIL_DELAY</emphasis> for pam_faildelay module,
|
|
|
78f74e |
+ and <emphasis>UMASK</emphasis> for pam_umask module. Refer to
|
|
|
78f74e |
+ pam(8) for more information.
|
|
|
78f74e |
+ </para>
|
|
|
78f74e |
+
|
|
|
78f74e |
<para>The following configuration items are provided:</para>
|
|
|
78f74e |
|
|
|
78f74e |
<variablelist remap='IP'>
|
|
|
78f74e |
diff -up shadow-4.1.5.1/man/man5/login.defs.5.manfix shadow-4.1.5.1/man/man5/login.defs.5
|
|
|
78f74e |
--- shadow-4.1.5.1/man/man5/login.defs.5.manfix 2012-05-25 13:59:03.000000000 +0200
|
|
|
78f74e |
+++ shadow-4.1.5.1/man/man5/login.defs.5 2014-02-12 11:26:27.159851843 +0100
|
|
|
78f74e |
@@ -46,6 +46,14 @@ value\&. Numbers (both regular and long)
|
|
|
78f74e |
\fI0\fR) or hexadecimal values (precede the value with
|
|
|
78f74e |
\fI0x\fR)\&. The maximum value of the regular and long numeric parameters is machine\-dependent\&.
|
|
|
78f74e |
.PP
|
|
|
78f74e |
+Please note that the parameters in this configuration file control the
|
|
|
78f74e |
+behavior of the tools from the shadow-utils component\&. None of these
|
|
|
78f74e |
+tools uses the PAM mechanism, and the utilities that use PAM (such as the
|
|
|
78f74e |
+passwd command) should be configured elsewhere\&. The only values that
|
|
|
78f74e |
+affect PAM modules are \fBENCRYPT_METHOD\fR and \fBSHA_CRYPT_MAX_ROUNDS\fR for pam_unix module,
|
|
|
78f74e |
+\fBFAIL_DELAY\fR for pam_faildelay module, and \fBUMASK\fR for pam_umask module\&. Refer to
|
|
|
78f74e |
+pam(8) for more information\&.
|
|
|
78f74e |
+.PP
|
|
|
78f74e |
The following configuration items are provided:
|
|
|
78f74e |
.PP
|
|
|
78f74e |
\fBCHFN_AUTH\fR (boolean)
|
|
|
78f74e |
@@ -625,20 +633,6 @@ will create by default a group with the
|
|
|
78f74e |
.PP
|
|
|
78f74e |
The following cross references show which programs in the shadow password suite use which parameters\&.
|
|
|
78f74e |
.PP
|
|
|
78f74e |
-chfn
|
|
|
78f74e |
-.RS 4
|
|
|
78f74e |
-
|
|
|
78f74e |
-CHFN_AUTH
|
|
|
78f74e |
-CHFN_RESTRICT
|
|
|
78f74e |
-LOGIN_STRING
|
|
|
78f74e |
-.RE
|
|
|
78f74e |
-.PP
|
|
|
78f74e |
-chgpasswd
|
|
|
78f74e |
-.RS 4
|
|
|
78f74e |
-ENCRYPT_METHOD MAX_MEMBERS_PER_GROUP MD5_CRYPT_ENAB
|
|
|
78f74e |
-SHA_CRYPT_MAX_ROUNDS SHA_CRYPT_MIN_ROUNDS
|
|
|
78f74e |
-.RE
|
|
|
78f74e |
-.PP
|
|
|
78f74e |
chpasswd
|
|
|
78f74e |
.RS 4
|
|
|
78f74e |
|
|
|
78f74e |
@@ -646,11 +640,6 @@ ENCRYPT_METHOD MD5_CRYPT_ENAB
|
|
|
78f74e |
SHA_CRYPT_MAX_ROUNDS SHA_CRYPT_MIN_ROUNDS
|
|
|
78f74e |
.RE
|
|
|
78f74e |
.PP
|
|
|
78f74e |
-chsh
|
|
|
78f74e |
-.RS 4
|
|
|
78f74e |
-CHSH_AUTH LOGIN_STRING
|
|
|
78f74e |
-.RE
|
|
|
78f74e |
-.PP
|
|
|
78f74e |
gpasswd
|
|
|
78f74e |
.RS 4
|
|
|
78f74e |
ENCRYPT_METHOD MAX_MEMBERS_PER_GROUP MD5_CRYPT_ENAB
|
|
|
78f74e |
@@ -692,29 +681,6 @@ grpunconv
|
|
|
78f74e |
MAX_MEMBERS_PER_GROUP
|
|
|
78f74e |
.RE
|
|
|
78f74e |
.PP
|
|
|
78f74e |
-login
|
|
|
78f74e |
-.RS 4
|
|
|
78f74e |
-
|
|
|
78f74e |
-CONSOLE
|
|
|
78f74e |
-CONSOLE_GROUPS DEFAULT_HOME
|
|
|
78f74e |
-ENV_HZ ENV_PATH ENV_SUPATH ENV_TZ ENVIRON_FILE
|
|
|
78f74e |
-ERASECHAR FAIL_DELAY
|
|
|
78f74e |
-FAILLOG_ENAB
|
|
|
78f74e |
-FAKE_SHELL
|
|
|
78f74e |
-FTMP_FILE
|
|
|
78f74e |
-HUSHLOGIN_FILE
|
|
|
78f74e |
-ISSUE_FILE
|
|
|
78f74e |
-KILLCHAR
|
|
|
78f74e |
-LASTLOG_ENAB
|
|
|
78f74e |
-LOGIN_RETRIES
|
|
|
78f74e |
-LOGIN_STRING
|
|
|
78f74e |
-LOGIN_TIMEOUT LOG_OK_LOGINS LOG_UNKFAIL_ENAB
|
|
|
78f74e |
-MAIL_CHECK_ENAB MAIL_DIR MAIL_FILE MOTD_FILE NOLOGINS_FILE PORTTIME_CHECKS_ENAB QUOTAS_ENAB
|
|
|
78f74e |
-TTYGROUP TTYPERM TTYTYPE_FILE
|
|
|
78f74e |
-ULIMIT UMASK
|
|
|
78f74e |
-USERGROUPS_ENAB
|
|
|
78f74e |
-.RE
|
|
|
78f74e |
-.PP
|
|
|
78f74e |
newgrp / sg
|
|
|
78f74e |
.RS 4
|
|
|
78f74e |
SYSLOG_SG_ENAB
|
|
|
78f74e |
@@ -727,12 +693,6 @@ SHA_CRYPT_MAX_ROUNDS SHA_CRYPT_MIN_ROUND
|
|
|
78f74e |
SYS_GID_MAX SYS_GID_MIN SYS_UID_MAX SYS_UID_MIN UID_MAX UID_MIN UMASK
|
|
|
78f74e |
.RE
|
|
|
78f74e |
.PP
|
|
|
78f74e |
-passwd
|
|
|
78f74e |
-.RS 4
|
|
|
78f74e |
-ENCRYPT_METHOD MD5_CRYPT_ENAB OBSCURE_CHECKS_ENAB PASS_ALWAYS_WARN PASS_CHANGE_TRIES PASS_MAX_LEN PASS_MIN_LEN
|
|
|
78f74e |
-SHA_CRYPT_MAX_ROUNDS SHA_CRYPT_MIN_ROUNDS
|
|
|
78f74e |
-.RE
|
|
|
78f74e |
-.PP
|
|
|
78f74e |
pwck
|
|
|
78f74e |
.RS 4
|
|
|
78f74e |
PASS_MAX_DAYS PASS_MIN_DAYS PASS_WARN_AGE
|
|
|
78f74e |
@@ -743,26 +703,6 @@ pwconv
|
|
|
78f74e |
PASS_MAX_DAYS PASS_MIN_DAYS PASS_WARN_AGE
|
|
|
78f74e |
.RE
|
|
|
78f74e |
.PP
|
|
|
78f74e |
-su
|
|
|
78f74e |
-.RS 4
|
|
|
78f74e |
-
|
|
|
78f74e |
-CONSOLE
|
|
|
78f74e |
-CONSOLE_GROUPS DEFAULT_HOME
|
|
|
78f74e |
-ENV_HZ ENVIRON_FILE
|
|
|
78f74e |
-ENV_PATH ENV_SUPATH
|
|
|
78f74e |
-ENV_TZ LOGIN_STRING MAIL_CHECK_ENAB MAIL_DIR MAIL_FILE QUOTAS_ENAB
|
|
|
78f74e |
-SULOG_FILE SU_NAME
|
|
|
78f74e |
-SU_WHEEL_ONLY
|
|
|
78f74e |
-SYSLOG_SU_ENAB
|
|
|
78f74e |
-USERGROUPS_ENAB
|
|
|
78f74e |
-.RE
|
|
|
78f74e |
-.PP
|
|
|
78f74e |
-sulogin
|
|
|
78f74e |
-.RS 4
|
|
|
78f74e |
-ENV_HZ
|
|
|
78f74e |
-ENV_TZ
|
|
|
78f74e |
-.RE
|
|
|
78f74e |
-.PP
|
|
|
78f74e |
useradd
|
|
|
78f74e |
.RS 4
|
|
|
78f74e |
CREATE_HOME GID_MAX GID_MIN MAIL_DIR MAX_MEMBERS_PER_GROUP PASS_MAX_DAYS PASS_MIN_DAYS PASS_WARN_AGE SYS_GID_MAX SYS_GID_MIN SYS_UID_MAX SYS_UID_MIN UID_MAX UID_MIN UMASK
|
|
|
9f90df |
diff -up shadow-4.1.5.1/man/man8/useradd.8.manfix shadow-4.1.5.1/man/man8/useradd.8
|
|
|
78f74e |
--- shadow-4.1.5.1/man/man8/useradd.8.manfix 2013-11-27 10:25:34.740049650 +0100
|
|
|
78f74e |
+++ shadow-4.1.5.1/man/man8/useradd.8 2013-11-27 10:25:34.758050045 +0100
|
|
|
9f90df |
@@ -85,7 +85,7 @@ by default\&.
|
|
|
9f90df |
Any text string\&. It is generally a short description of the login, and is currently used as the field for the user\*(Aqs full name\&.
|
|
|
9f90df |
.RE
|
|
|
9f90df |
.PP
|
|
|
9f90df |
-\fB\-d\fR, \fB\-\-home\fR \fIHOME_DIR\fR
|
|
|
9f90df |
+\fB\-d\fR, \fB\-\-home\-dir\fR \fIHOME_DIR\fR
|
|
|
9f90df |
.RS 4
|
|
|
9f90df |
The new user will be created using
|
|
|
9f90df |
\fIHOME_DIR\fR
|
|
|
9f90df |
@@ -220,9 +220,13 @@ option) will be copied to the home direc
|
|
|
9f90df |
By default, if this option is not specified and
|
|
|
9f90df |
\fBCREATE_HOME\fR
|
|
|
9f90df |
is not enabled, no home directories are created\&.
|
|
|
9f90df |
+.sp
|
|
|
9f90df |
+The directory where the user\*(Aqs home directory is created must
|
|
|
9f90df |
+exist and have proper SELinux context and permissions\&. Otherwise
|
|
|
9f90df |
+the user\*(Aqs home directory cannot be created or accessed\&.
|
|
|
9f90df |
.RE
|
|
|
9f90df |
.PP
|
|
|
9f90df |
-\fB\-M\fR
|
|
|
9f90df |
+\fB\-M\fR, \fB\-\-no\-create\-home\fR
|
|
|
9f90df |
.RS 4
|
|
|
9f90df |
Do not create the user\*(Aqs home directory, even if the system wide setting from
|
|
|
9f90df |
/etc/login\&.defs
|
|
|
9f90df |
diff -up shadow-4.1.5.1/man/useradd.8.xml.manfix shadow-4.1.5.1/man/useradd.8.xml
|
|
|
78f74e |
--- shadow-4.1.5.1/man/useradd.8.xml.manfix 2013-11-27 10:25:34.740049650 +0100
|
|
|
78f74e |
+++ shadow-4.1.5.1/man/useradd.8.xml 2013-11-27 10:25:34.759050067 +0100
|
|
|
9f90df |
@@ -161,7 +161,7 @@
|
|
|
9f90df |
</varlistentry>
|
|
|
9f90df |
<varlistentry>
|
|
|
9f90df |
<term>
|
|
|
9f90df |
- <option>-d</option>, <option>--home</option>
|
|
|
9f90df |
+ <option>-d</option>, <option>--home-dir</option>
|
|
|
9f90df |
<replaceable>HOME_DIR</replaceable>
|
|
|
9f90df |
</term>
|
|
|
9f90df |
<listitem>
|
|
|
9f90df |
@@ -358,11 +358,16 @@
|
|
|
9f90df |
<option>CREATE_HOME</option> is not enabled, no home
|
|
|
9f90df |
directories are created.
|
|
|
9f90df |
</para>
|
|
|
9f90df |
+ <para>
|
|
|
9f90df |
+ The directory where the user's home directory is created must
|
|
|
9f90df |
+ exist and have proper SELinux context and permissions. Otherwise
|
|
|
9f90df |
+ the user's home directory cannot be created or accessed.
|
|
|
9f90df |
+ </para>
|
|
|
9f90df |
</listitem>
|
|
|
9f90df |
</varlistentry>
|
|
|
9f90df |
<varlistentry>
|
|
|
9f90df |
<term>
|
|
|
9f90df |
- <option>-M</option>
|
|
|
9f90df |
+ <option>-M</option>, <option>--no-create-home</option>
|
|
|
9f90df |
</term>
|
|
|
9f90df |
<listitem>
|
|
|
9f90df |
<para>
|