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).
27 :copyright=/etc/COPYRIGHT:\
29 :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
30 :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin ~/bin:\
31 :nologin=/var/run/nologin:\
34 :stacksize=unlimited:\
35 :memorylocked=unlimited:\
36 :memoryuse=unlimited:\
38 :coredumpsize=unlimited:\
39 :openfiles=unlimited:\
42 :vmemoryuse=unlimited:\
43 :pseudoterminals=unlimited:\
50 # A collection of common class names - forward them all to 'default'
51 # (login would normally do this anyway, but having a class name
52 # here suppresses the diagnostic)
68 # Root can always login
70 # N.B. login_getpwclass(3) will use this entry for the root account,
71 # in preference to 'default'.
77 # Russian Users Accounts. Setup proper environment variables.
79 russian|Russian Users Accounts:\
85 ######################################################################
86 ######################################################################
90 ######################################################################
91 ######################################################################
94 ## These settings are used by login(1) by default for classless users
95 ## Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
100 # :stacksize-cur=8M:\
101 # :memorylocked-cur=10M:\
102 # :memoryuse-cur=30M:\
103 # :filesize=infinity:\
104 # :coredumpsize=infinity:\
106 # :openfiles-cur=64:\
114 ## standard - standard user defaults
117 # :copyright=/etc/COPYRIGHT:\
118 # :welcome=/etc/motd:\
119 # :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
120 # :path=~/bin /bin /usr/bin /usr/local/bin:\
121 # :manpath=/usr/share/man /usr/local/man:\
122 # :nologin=/var/run/nologin:\
135 # :passwordtime=90d:\
142 ## users of X (needs more resources!)
145 # :manpath=/usr/share/man /usr/local/man:\
148 # :vmemoryuse=infinity:\
158 ## Staff users - few restrictions and allow login anytime
165 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
171 ## root - fallback for root logins
174 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
175 # :cputime=infinity:\
176 # :datasize=infinity:\
177 # :stacksize=infinity:\
178 # :memorylocked=infinity:\
179 # :memoryuse=infinity:\
180 # :filesize=infinity:\
181 # :coredumpsize=infinity:\
182 # :openfiles=infinity:\
183 # :maxproc=infinity:\
184 # :memoryuse-cur=32M:\
186 # :openfiles-cur=1024:\
190 # :tc=auth-root-defaults:
194 ## Settings used by /etc/rc
198 # :coredumpsize-cur=0:\
199 # :datasize=infinity:\
203 # :memoryuse-cur=64M:\
204 # :memorylocked-cur=64M:\
213 ## Settings used by news subsystem
216 # :path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
217 # :cputime=infinity:\
219 # :datasize-cur=64M:\
220 # :stacksize-cur=32M:\
221 # :coredumpsize-cur=0:\
222 # :maxmemorysize-cur=128M:\
223 # :memorylocked=32M:\
230 ## The dialer class should be used for a dialup PPP/SLIP accounts
231 ## Welcome messages/news suppressed
236 # :cputime=unlimited:\
249 ## Site full-time 24/7 PPP/SLIP connections
250 ## - no time accounting, restricted to access via dialin lines
276 ## Example standard accounting entries for subscriber levels
279 #subscriber|Subscribers:\
281 # :refreshtime=180d:\
285 # :expireperiod=180d:\
300 ## Subscriber accounts. These accounts have their login times
301 ## accounted and have access limits applied.
303 #subppp|PPP Subscriber Accounts:\
308 #subslip|SLIP Subscriber Accounts:\
313 #subshell|Shell Subscriber Accounts:\
317 ## If you want some of the accounts to use traditional UNIX DES based
321 # :passwd_format=des:\