Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
#
2
# Please note that the parameters in this configuration file control the
3
# behavior of the tools from the shadow-utils component. None of these
4
# tools uses the PAM mechanism, and the utilities that use PAM (such as the
5
# passwd command) should therefore be configured elsewhere. Refer to
6
# /etc/pam.d/system-auth for more information.
7
#
8
 
9
# *REQUIRED*
10
#   Directory where mailboxes reside, _or_ name of file, relative to the
11
#   home directory.  If you _do_ define both, MAIL_DIR takes precedence.
12
#   QMAIL_DIR is for Qmail
13
#
14
#QMAIL_DIR	Maildir
15
MAIL_DIR	/var/spool/mail
16
#MAIL_FILE	.mail
17
 
18
# Default initial "umask" value used by login(1) on non-PAM enabled systems.
19
# Default "umask" value for pam_umask(8) on PAM enabled systems.
20
# UMASK is also used by useradd(8) and newusers(8) to set the mode for new
21
# home directories if HOME_MODE is not set.
22
# 022 is the default value, but 027, or even 077, could be considered
23
# for increased privacy. There is no One True Answer here: each sysadmin
24
# must make up their mind.
25
UMASK		022
26
 
27
# HOME_MODE is used by useradd(8) and newusers(8) to set the mode for new
28
# home directories.
29
# If HOME_MODE is not set, the value of UMASK is used to create the mode.
30
HOME_MODE	0700
31
 
32
# Password aging controls:
33
#
34
#	PASS_MAX_DAYS	Maximum number of days a password may be used.
35
#	PASS_MIN_DAYS	Minimum number of days allowed between password changes.
36
#	PASS_MIN_LEN	Minimum acceptable password length.
37
#	PASS_WARN_AGE	Number of days warning given before a password expires.
38
#
39
PASS_MAX_DAYS	99999
40
PASS_MIN_DAYS	0
41
PASS_MIN_LEN	5
42
PASS_WARN_AGE	7
43
 
44
#
45
# Min/max values for automatic uid selection in useradd
46
#
47
UID_MIN                  1000
48
UID_MAX                 60000
49
# System accounts
50
SYS_UID_MIN               201
51
SYS_UID_MAX               999
52
 
53
#
54
# Min/max values for automatic gid selection in groupadd
55
#
56
GID_MIN                  1000
57
GID_MAX                 60000
58
# System accounts
59
SYS_GID_MIN               201
60
SYS_GID_MAX               999
61
 
62
#
63
# If defined, this command is run when removing a user.
64
# It should remove any at/cron/print jobs etc. owned by
65
# the user to be removed (passed as the first argument).
66
#
67
#USERDEL_CMD	/usr/sbin/userdel_local
68
 
69
#
70
# If useradd should create home directories for users by default
71
# On RH systems, we do. This option is overridden with the -m flag on
72
# useradd command line.
73
#
74
CREATE_HOME	yes
75
 
76
# This enables userdel to remove user groups if no members exist.
77
#
78
USERGROUPS_ENAB yes
79
 
80
# Use SHA512 to encrypt password.
81
ENCRYPT_METHOD SHA512
82