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:\
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:\
53 # A collection of common class names - forward them all to 'default'
54 # (login would normally do this anyway, but having a class name
55 # here suppresses the diagnostic)
72 # Root can always login
74 # N.B. login_getpwclass(3) will use this entry for the root account,
75 # in preference to 'default'.
78 :memorylocked=unlimited:\
82 # Russian Users Accounts. Setup proper environment variables.
84 russian|Russian Users Accounts:\
90 ######################################################################
91 ######################################################################
95 ######################################################################
96 ######################################################################
99 ## These settings are used by login(1) by default for classless users
100 ## Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
103 # :cputime=infinity:\
104 # :datasize-cur=22M:\
105 # :stacksize-cur=8M:\
106 # :memorylocked-cur=10M:\
107 # :memoryuse-cur=30M:\
108 # :filesize=infinity:\
109 # :coredumpsize=infinity:\
111 # :openfiles-cur=64:\
119 ## standard - standard user defaults
122 # :copyright=/etc/COPYRIGHT:\
123 # :welcome=/etc/motd:\
124 # :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
125 # :path=~/bin /bin /usr/bin /usr/local/bin:\
126 # :manpath=/usr/share/man /usr/local/man:\
127 # :nologin=/var/run/nologin:\
140 # :passwordtime=90d:\
147 ## users of X (needs more resources!)
150 # :manpath=/usr/share/man /usr/local/man:\
153 # :vmemoryuse=infinity:\
163 ## Staff users - few restrictions and allow login anytime
170 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
176 ## root - fallback for root logins
179 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
180 # :cputime=infinity:\
181 # :datasize=infinity:\
182 # :stacksize=infinity:\
183 # :memorylocked=infinity:\
184 # :memoryuse=infinity:\
185 # :filesize=infinity:\
186 # :coredumpsize=infinity:\
187 # :openfiles=infinity:\
188 # :maxproc=infinity:\
189 # :memoryuse-cur=32M:\
191 # :openfiles-cur=1024:\
195 # :tc=auth-root-defaults:
199 ## Settings used by /etc/rc
203 # :coredumpsize-cur=0:\
204 # :datasize=infinity:\
208 # :memoryuse-cur=64M:\
209 # :memorylocked-cur=64M:\
218 ## Settings used by news subsystem
221 # :path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
222 # :cputime=infinity:\
224 # :datasize-cur=64M:\
225 # :stacksize-cur=32M:\
226 # :coredumpsize-cur=0:\
227 # :maxmemorysize-cur=128M:\
228 # :memorylocked=32M:\
235 ## The dialer class should be used for a dialup PPP account
236 ## Welcome messages/news suppressed
241 # :cputime=unlimited:\
254 ## Site full-time 24/7 PPP connection
255 ## - no time accounting, restricted to access via dialin lines
281 ## Example standard accounting entries for subscriber levels
284 #subscriber|Subscribers:\
286 # :refreshtime=180d:\
290 # :expireperiod=180d:\
305 ## Subscriber accounts. These accounts have their login times
306 ## accounted and have access limits applied.
308 #subppp|PPP 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:\