1 # login.conf - login class capabilities database.
3 # Remember to rebuild the database after each change to this file:
5 # cap_mkdb /etc/login.conf
7 # This file controls resource limits, accounting limits and
8 # default user environment settings.
13 # Default settings effectively disable resource limits, see the
14 # examples below for a starting point to enable them.
17 # These settings are used by login(1) by default for classless users
18 # Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
20 # Note that since a colon ':' is used to separate capability entries,
21 # a \c escape sequence must be used to embed a literal colon in the
22 # value or name of a capability (see the ``CGETNUM AND CGETSTR SYNTAX
23 # AND SEMANTICS'' section of getcap(3) for more escape sequences).
26 :passwd_format=sha512:\
27 :copyright=/etc/COPYRIGHT:\
29 :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,LC_COLLATE=C:\
30 :path=/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin ~/bin:\
31 :nologin=/var/run/nologin:\
34 :stacksize=unlimited:\
36 :memoryuse=unlimited:\
38 :coredumpsize=unlimited:\
39 :openfiles=unlimited:\
42 :vmemoryuse=unlimited:\
44 :pseudoterminals=unlimited:\
52 # A collection of common class names - forward them all to 'default'
53 # (login would normally do this anyway, but having a class name
54 # here suppresses the diagnostic)
71 # Root can always login
73 # N.B. login_getpwclass(3) will use this entry for the root account,
74 # in preference to 'default'.
77 :memorylocked=unlimited:\
81 # Russian Users Accounts. Setup proper environment variables.
83 russian|Russian Users Accounts:\
89 ######################################################################
90 ######################################################################
94 ######################################################################
95 ######################################################################
98 ## These settings are used by login(1) by default for classless users
99 ## Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
102 # :cputime=infinity:\
103 # :datasize-cur=22M:\
104 # :stacksize-cur=8M:\
105 # :memorylocked-cur=10M:\
106 # :memoryuse-cur=30M:\
107 # :filesize=infinity:\
108 # :coredumpsize=infinity:\
110 # :openfiles-cur=64:\
118 ## standard - standard user defaults
121 # :copyright=/etc/COPYRIGHT:\
122 # :welcome=/etc/motd:\
123 # :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
124 # :path=~/bin /bin /usr/bin /usr/local/bin:\
125 # :manpath=/usr/share/man /usr/local/man:\
126 # :nologin=/var/run/nologin:\
139 # :passwordtime=90d:\
146 ## users of X (needs more resources!)
149 # :manpath=/usr/share/man /usr/local/man:\
152 # :vmemoryuse=infinity:\
162 ## Staff users - few restrictions and allow login anytime
169 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
175 ## root - fallback for root logins
178 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
179 # :cputime=infinity:\
180 # :datasize=infinity:\
181 # :stacksize=infinity:\
182 # :memorylocked=infinity:\
183 # :memoryuse=infinity:\
184 # :filesize=infinity:\
185 # :coredumpsize=infinity:\
186 # :openfiles=infinity:\
187 # :maxproc=infinity:\
188 # :memoryuse-cur=32M:\
190 # :openfiles-cur=1024:\
194 # :tc=auth-root-defaults:
198 ## Settings used by /etc/rc
202 # :coredumpsize-cur=0:\
203 # :datasize=infinity:\
207 # :memoryuse-cur=64M:\
208 # :memorylocked-cur=64M:\
217 ## Settings used by news subsystem
220 # :path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
221 # :cputime=infinity:\
223 # :datasize-cur=64M:\
224 # :stacksize-cur=32M:\
225 # :coredumpsize-cur=0:\
226 # :maxmemorysize-cur=128M:\
227 # :memorylocked=32M:\
234 ## The dialer class should be used for a dialup PPP account
235 ## Welcome messages/news suppressed
240 # :cputime=unlimited:\
253 ## Site full-time 24/7 PPP connection
254 ## - no time accounting, restricted to access via dialin lines
280 ## Example standard accounting entries for subscriber levels
283 #subscriber|Subscribers:\
285 # :refreshtime=180d:\
289 # :expireperiod=180d:\
304 ## Subscriber accounts. These accounts have their login times
305 ## accounted and have access limits applied.
307 #subppp|PPP Subscriber Accounts:\
312 #subshell|Shell Subscriber Accounts:\
316 ## If you want some of the accounts to use traditional UNIX DES based
320 # :passwd_format=des:\