]> git.pld-linux.org Git - packages/pwdutils.git/blame - pwdutils.login.defs
- exclude newgrp manual
[packages/pwdutils.git] / pwdutils.login.defs
CommitLineData
22a9b0b0
AM
1#
2# /etc/login.defs - Configuration control definitions for pwdutils package.
3#
4# Comment lines (lines beginning with "#") and blank lines are ignored.
5# Please read the manual page for more information (login.defs.5).
6#
7
8#
9# Should login be allowed if we can't cd to the home directory?
10# Default is yes.
11#
12DEFAULT_HOME yes
13
14#
15# The default PATH settings (used by login):
16#
17ENV_PATH /usr/local/bin:/usr/bin:/bin
18
19#
20# The default PATH settings for root (used by login):
21#
22ENV_ROOTPATH /sbin:/bin:/usr/sbin:/usr/bin
23
24#
25# Delay in seconds before being allowed another attempt
26# after a login failure
27#
28FAIL_DELAY 3
29
30#
31# Enable logging and display of /var/log/faillog login
32# failure info.
33#
34FAILLOG_ENAB yes
35
36#
37# If defined and the file exist, login failures will be
38# logged here in a utmp format.
39# last, when invoked as lastb, will read /var/log/btmp, so...
40#
41#FTMP_FILE /var/log/btmp
42
43#
44# If defined, file which inhibits all the usual chatter
45# during the login sequence. If a full pathname, then hushed
46# mode will be enabled if the user's name or shell are found
47# in the file. If not a full pathname, then hushed mode will
48# be enabled if the file exists in the user's home directory.
49#
50#HUSHLOGIN_FILE .hushlogin
51HUSHLOGIN_FILE /etc/hushlogins
52
53#
54# Enable logging and display of /var/log/lastlog login time info.
55#
56LASTLOG_ENAB yes
57
58#
59# Enable display of unknown usernames when login failures
60# are recorded.
61#
62LOG_UNKFAIL_ENAB no
63
64#
65# Max number of login retries if password is bad
66#
67LOGIN_RETRIES 3
68
69#
70# Max time in seconds for login
71#
72LOGIN_TIMEOUT 60
73
74#
75# If defined, ":" delimited list of "message of the day" files to
76# be displayed upon login.
77#
78MOTD_FILE /etc/motd
79#MOTD_FILE /etc/motd:/usr/lib/news/news-motd
80
81#
82# If defined, file which maps tty line to TERM environment parameter.
83# Each line of the file is in a format something like "vt100 tty01".
84#
85TTYTYPE_FILE /etc/ttytype
86
87#
88# Terminal permissions
89#
90# TTYGROUP Login tty will be assigned this group ownership.
91# TTYPERM Login tty will be set to this permission.
92#
93# If you have a "write" program which is "setgid" to a special group
94# which owns the terminals, define TTYGROUP to the group number and
95# TTYPERM to 0620. Otherwise leave TTYGROUP commented out and assign
96# TTYPERM to either 622 or 600.
97#
98TTYGROUP tty
99TTYPERM 0620
100
101#
102# Require password before chfn/chsh can make any changes.
103#
104CHFN_AUTH yes
105
106#
107# Which fields may be changed by regular users using chfn - use
108# any combination of letters "frwh" (full name, room number, work
109# phone, home phone). If not defined, no changes are allowed.
110# For backward compatibility, "yes" = "rwh" and "no" = "frwh".
111#
112CHFN_RESTRICT rwh
113
114#
115# Password aging controls (used by useradd):
116#
117# PASS_MAX_DAYS Maximum number of days a password may be used.
118# PASS_MIN_DAYS Minimum number of days allowed between password changes.
119# PASS_WARN_AGE Number of days warning given before a password expires.
120#
121PASS_MAX_DAYS 99999
122PASS_MIN_DAYS 0
123PASS_WARN_AGE 7
124
125#
126# Min/max values for automatic uid selection in useradd
127#
128# SYSTEM_UID_MIN to SYSTEM_UID_MAX inclusive is the range for
129# UIDs for dynamically allocated administrative and system accounts.
130# UID_MIN to UID_MAX inclusive is the range of UIDs of dynamically
131# allocated user accounts.
132#
133SYSTEM_UID_MIN 100
134SYSTEM_UID_MAX 499
135UID_MIN 1000
136UID_MAX 60000
137
138#
139# Min/max values for automatic gid selection in groupadd
140#
141# SYSTEM_GID_MIN to SYSTEM_GID_MAX inclusive is the range for
142# GIDs for dynamically allocated administrative and system groups.
143# GID_MIN to GID_MAX inclusive is the range of GIDs of dynamically
144# allocated groups.
145#
146SYSTEM_GID_MIN 100
147SYSTEM_GID_MAX 499
148GID_MIN 1000
149GID_MAX 60000
150
151#
152# Umask which is used by useradd and newusers for creating
153# new home directories.
154#
155UMASK 022
156
157#
158# If defined, this command is run when adding a user.
159# It should rebuild any NIS database etc. to add the
160# new created account.
161#
162USERADD_CMD /etc/pwdutils/useradd.local
163
164#
165# If defined, this command is run before removing a user.
166# It should remove any at/cron/print jobs etc. owned by
167# the user to be removed.
168#
169USERDEL_PRECMD /etc/pwdutils/userdel-pre.local
170
171#
172# If defined, this command is run after removing a user.
173# It should rebuild any NIS database etc. to remove the
174# account from it.
175#
176USERDEL_POSTCMD /etc/pwdutils/userdel-post.local
This page took 0.038126 seconds and 4 git commands to generate.