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