1 # Sample login.conf - login class capabilities database.
2 # To speed up access to this data, you can use /usr/bin/cap_mkdb
3 # to create a database form of this file:
5 # cap_mkdb /etc/login.conf
7 # Don't forget to do this after each edit as well!
9 # This file controls resource limits, accounting limits and
10 # default user environment settings.
15 # Default settings effectively disable resource limits, see the
16 # examples below for a starting point to enable them.
19 # These settings are used by login(1) by default for classless users
20 # Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
23 :copyright=/etc/COPYRIGHT:\
25 :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
26 :path=~/bin /bin /usr/bin /usr/local/bin /usr/X11R6/bin:\
27 :nologin=/var/run/nologin:\
30 :stacksize=unlimited:\
31 :memorylocked=unlimited:\
32 :memoryuse=unlimited:\
34 :coredumpsize=unlimited:\
35 :openfiles=unlimited:\
43 # A collection of common class names - forward them all to 'default'
44 # (login would normally do this anyway, but having a class name
45 # here suppresses the diagnostic)
61 # Root can always login
63 # N.B. login_getpwclass(3) will use this entry for the root account,
64 # in preference to 'default'.
70 # Russian Users Accounts. Setup proper environment variables.
72 russian:Russian Users Accounts:\
78 ######################################################################
79 ######################################################################
83 ######################################################################
84 ######################################################################
87 ## These settings are used by login(1) by default for classless users
88 ## Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
94 # :memorylocked-cur=10M:\
95 # :memoryuse-cur=30M:\
96 # :filesize=infinity:\
97 # :coredumpsize=infinity:\
107 ## standard - standard user defaults
110 # :copyright=/etc/COPYRIGHT:\
111 # :welcome=/etc/motd:\
112 # :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
113 # :path=~/bin /bin /usr/bin /usr/local/bin:\
114 # :manpath=/usr/share/man /usr/local/man:\
115 # :nologin=/var/run/nologin:\
127 # :passwordtime=90d:\
134 ## users of X (needs more resources!)
137 # :manpath=/usr/share/man /usr/X11R6/man /usr/local/man:\
149 ## Staff users - few restrictions and allow login anytime
156 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
162 ## root - fallback for root logins
165 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
166 # :cputime=infinity:\
167 # :datasize=infinity:\
168 # :stacksize=infinity:\
169 # :memorylocked=infinity:\
170 # :memoryuse=infinity:\
171 # :filesize=infinity:\
172 # :coredumpsize=infinity:\
173 # :openfiles=infinity:\
174 # :maxproc=infinity:\
175 # :memoryuse-cur=32M:\
177 # :openfiles-cur=1024:\
181 # :tc=auth-root-defaults:
185 ## Settings used by /etc/rc
189 # :coredumpsize-cur=0:\
190 # :datasize=infinity:\
194 # :memoryuse-cur=64M:\
195 # :memorylocked-cur=64M:\
204 ## Settings used by news subsystem
207 # :path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
208 # :cputime=infinity:\
210 # :datasize-cur=64M:\
211 # :stacksize-cur=32M:\
212 # :coredumpsize-cur=0:\
213 # :maxmemorysize-cur=128M:\
214 # :memorylocked=32M:\
221 ## The dialer class should be used for a dialup PPP/SLIP accounts
222 ## Welcome messages/news suppressed
227 # :cputime=unlimited:\
240 ## Site full-time 24/7 PPP/SLIP connections
241 ## - no time accounting, restricted to access via dialin lines
267 ## Example standard accounting entries for subscriber levels
270 #subscriber|Subscribers:\
272 # :refreshtime=180d:\
276 # :expireperiod=180d:\
291 ## Subscriber accounts. These accounts have their login times
292 ## accounted and have access limits applied.
294 #subppp|PPP Subscriber Accounts:\
299 #subslip|SLIP Subscriber Accounts:\
304 #subshell:Shell Subscriber Accounts:\