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:\
44 :pseudoterminals=unlimited:\
51 # A collection of common class names - forward them all to 'default'
52 # (login would normally do this anyway, but having a class name
53 # here suppresses the diagnostic)
69 # Root can always login
71 # N.B. login_getpwclass(3) will use this entry for the root account,
72 # in preference to 'default'.
78 # Russian Users Accounts. Setup proper environment variables.
80 russian|Russian Users Accounts:\
86 ######################################################################
87 ######################################################################
91 ######################################################################
92 ######################################################################
95 ## These settings are used by login(1) by default for classless users
96 ## Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
100 # :datasize-cur=22M:\
101 # :stacksize-cur=8M:\
102 # :memorylocked-cur=10M:\
103 # :memoryuse-cur=30M:\
104 # :filesize=infinity:\
105 # :coredumpsize=infinity:\
107 # :openfiles-cur=64:\
115 ## standard - standard user defaults
118 # :copyright=/etc/COPYRIGHT:\
119 # :welcome=/etc/motd:\
120 # :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
121 # :path=~/bin /bin /usr/bin /usr/local/bin:\
122 # :manpath=/usr/share/man /usr/local/man:\
123 # :nologin=/var/run/nologin:\
136 # :passwordtime=90d:\
143 ## users of X (needs more resources!)
146 # :manpath=/usr/share/man /usr/local/man:\
149 # :vmemoryuse=infinity:\
159 ## Staff users - few restrictions and allow login anytime
166 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
172 ## root - fallback for root logins
175 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
176 # :cputime=infinity:\
177 # :datasize=infinity:\
178 # :stacksize=infinity:\
179 # :memorylocked=infinity:\
180 # :memoryuse=infinity:\
181 # :filesize=infinity:\
182 # :coredumpsize=infinity:\
183 # :openfiles=infinity:\
184 # :maxproc=infinity:\
185 # :memoryuse-cur=32M:\
187 # :openfiles-cur=1024:\
191 # :tc=auth-root-defaults:
195 ## Settings used by /etc/rc
199 # :coredumpsize-cur=0:\
200 # :datasize=infinity:\
204 # :memoryuse-cur=64M:\
205 # :memorylocked-cur=64M:\
214 ## Settings used by news subsystem
217 # :path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
218 # :cputime=infinity:\
220 # :datasize-cur=64M:\
221 # :stacksize-cur=32M:\
222 # :coredumpsize-cur=0:\
223 # :maxmemorysize-cur=128M:\
224 # :memorylocked=32M:\
231 ## The dialer class should be used for a dialup PPP account
232 ## Welcome messages/news suppressed
237 # :cputime=unlimited:\
250 ## Site full-time 24/7 PPP connection
251 ## - no time accounting, restricted to access via dialin lines
277 ## Example standard accounting entries for subscriber levels
280 #subscriber|Subscribers:\
282 # :refreshtime=180d:\
286 # :expireperiod=180d:\
301 ## Subscriber accounts. These accounts have their login times
302 ## accounted and have access limits applied.
304 #subppp|PPP Subscriber Accounts:\
309 #subshell|Shell Subscriber Accounts:\
313 ## If you want some of the accounts to use traditional UNIX DES based
317 # :passwd_format=des:\