Blame SOURCES/shadow-utils.login.defs

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