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