Blame SOURCES/shadow-utils.login.defs

9f90df
#
9f90df
# Please note that the parameters in this configuration file control the
9f90df
# behavior of the tools from the shadow-utils component. None of these
9f90df
# tools uses the PAM mechanism, and the utilities that use PAM (such as the
9f90df
# passwd command) should therefore be configured elsewhere. Refer to
9f90df
# /etc/pam.d/system-auth for more information.
9f90df
#
9f90df
9f90df
# *REQUIRED*
9f90df
#   Directory where mailboxes reside, _or_ name of file, relative to the
9f90df
#   home directory.  If you _do_ define both, MAIL_DIR takes precedence.
9f90df
#   QMAIL_DIR is for Qmail
9f90df
#
9f90df
#QMAIL_DIR	Maildir
9f90df
MAIL_DIR	/var/spool/mail
9f90df
#MAIL_FILE	.mail
9f90df
9f90df
# Password aging controls:
9f90df
#
9f90df
#	PASS_MAX_DAYS	Maximum number of days a password may be used.
9f90df
#	PASS_MIN_DAYS	Minimum number of days allowed between password changes.
9f90df
#	PASS_MIN_LEN	Minimum acceptable password length.
9f90df
#	PASS_WARN_AGE	Number of days warning given before a password expires.
9f90df
#
9f90df
PASS_MAX_DAYS	99999
9f90df
PASS_MIN_DAYS	0
9f90df
PASS_MIN_LEN	5
9f90df
PASS_WARN_AGE	7
9f90df
9f90df
#
9f90df
# Min/max values for automatic uid selection in useradd
9f90df
#
9f90df
UID_MIN                  1000
9f90df
UID_MAX                 60000
9f90df
# System accounts
9f90df
SYS_UID_MIN               201
9f90df
SYS_UID_MAX               999
9f90df
9f90df
#
9f90df
# Min/max values for automatic gid selection in groupadd
9f90df
#
9f90df
GID_MIN                  1000
9f90df
GID_MAX                 60000
9f90df
# System accounts
9f90df
SYS_GID_MIN               201
9f90df
SYS_GID_MAX               999
9f90df
9f90df
#
9f90df
# If defined, this command is run when removing a user.
9f90df
# It should remove any at/cron/print jobs etc. owned by
9f90df
# the user to be removed (passed as the first argument).
9f90df
#
9f90df
#USERDEL_CMD	/usr/sbin/userdel_local
9f90df
9f90df
#
9f90df
# If useradd should create home directories for users by default
9f90df
# On RH systems, we do. This option is overridden with the -m flag on
9f90df
# useradd command line.
9f90df
#
9f90df
CREATE_HOME	yes
9f90df
9f90df
# The permission mask is initialized to this value. If not specified, 
9f90df
# the permission mask will be initialized to 022.
9f90df
UMASK           077
9f90df
9f90df
# This enables userdel to remove user groups if no members exist.
9f90df
#
9f90df
USERGROUPS_ENAB yes
9f90df
9f90df
# Use SHA512 to encrypt password.
b95810
ENCRYPT_METHOD SHA512
9f90df