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.
10 # $FreeBSD: src/etc/login.conf,v 1.34.2.6 2002/07/02 20:06:18 dillon Exp $
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"
22 :copyright=/etc/COPYRIGHT:\
24 :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
25 :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin ~/bin:\
26 :nologin=/var/run/nologin:\
29 :stacksize=unlimited:\
30 :memorylocked=unlimited:\
31 :memoryuse=unlimited:\
33 :coredumpsize=unlimited:\
34 :openfiles=unlimited:\
37 :vmemoryuse=unlimited:\
44 # A collection of common class names - forward them all to 'default'
45 # (login would normally do this anyway, but having a class name
46 # here suppresses the diagnostic)
62 # Root can always login
64 # N.B. login_getpwclass(3) will use this entry for the root account,
65 # in preference to 'default'.
71 # Russian Users Accounts. Setup proper environment variables.
73 russian|Russian Users Accounts:\
79 ######################################################################
80 ######################################################################
84 ######################################################################
85 ######################################################################
88 ## These settings are used by login(1) by default for classless users
89 ## Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
95 # :memorylocked-cur=10M:\
96 # :memoryuse-cur=30M:\
97 # :filesize=infinity:\
98 # :coredumpsize=infinity:\
100 # :openfiles-cur=64:\
108 ## standard - standard user defaults
111 # :copyright=/etc/COPYRIGHT:\
112 # :welcome=/etc/motd:\
113 # :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
114 # :path=~/bin /bin /usr/bin /usr/local/bin:\
115 # :manpath=/usr/share/man /usr/local/man:\
116 # :nologin=/var/run/nologin:\
129 # :passwordtime=90d:\
136 ## users of X (needs more resources!)
139 # :manpath=/usr/share/man /usr/X11R6/man /usr/local/man:\
142 # :vmemoryuse=infinity:\
152 ## Staff users - few restrictions and allow login anytime
159 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
165 ## root - fallback for root logins
168 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
169 # :cputime=infinity:\
170 # :datasize=infinity:\
171 # :stacksize=infinity:\
172 # :memorylocked=infinity:\
173 # :memoryuse=infinity:\
174 # :filesize=infinity:\
175 # :coredumpsize=infinity:\
176 # :openfiles=infinity:\
177 # :maxproc=infinity:\
178 # :memoryuse-cur=32M:\
180 # :openfiles-cur=1024:\
184 # :tc=auth-root-defaults:
188 ## Settings used by /etc/rc
192 # :coredumpsize-cur=0:\
193 # :datasize=infinity:\
197 # :memoryuse-cur=64M:\
198 # :memorylocked-cur=64M:\
207 ## Settings used by news subsystem
210 # :path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
211 # :cputime=infinity:\
213 # :datasize-cur=64M:\
214 # :stacksize-cur=32M:\
215 # :coredumpsize-cur=0:\
216 # :maxmemorysize-cur=128M:\
217 # :memorylocked=32M:\
224 ## The dialer class should be used for a dialup PPP/SLIP accounts
225 ## Welcome messages/news suppressed
230 # :cputime=unlimited:\
243 ## Site full-time 24/7 PPP/SLIP connections
244 ## - no time accounting, restricted to access via dialin lines
270 ## Example standard accounting entries for subscriber levels
273 #subscriber|Subscribers:\
275 # :refreshtime=180d:\
279 # :expireperiod=180d:\
294 ## Subscriber accounts. These accounts have their login times
295 ## accounted and have access limits applied.
297 #subppp|PPP Subscriber Accounts:\
302 #subslip|SLIP Subscriber Accounts:\
307 #subshell|Shell Subscriber Accounts:\
311 ## If you want some of the accounts to use traditional UNIX DES based
315 # :passwd_format=des:\