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 $
11 # $DragonFly: src/etc/login.conf,v 1.5 2006/08/12 16:47:18 dillon Exp $
14 # Default settings effectively disable resource limits, see the
15 # examples below for a starting point to enable them.
18 # These settings are used by login(1) by default for classless users
19 # 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=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/pkg/xorg/bin /usr/pkg/sbin /usr/pkg/bin ~/bin:\
27 :nologin=/var/run/nologin:\
30 :stacksize=unlimited:\
31 :memorylocked=unlimited:\
32 :memoryuse=unlimited:\
34 :coredumpsize=unlimited:\
35 :openfiles=unlimited:\
37 :posixlocks=unlimited:\
39 :vmemoryuse=unlimited:\
46 # A collection of common class names - forward them all to 'default'
47 # (login would normally do this anyway, but having a class name
48 # here suppresses the diagnostic)
64 # Root can always login
66 # N.B. login_getpwclass(3) will use this entry for the root account,
67 # in preference to 'default'.
73 # Russian Users Accounts. Setup proper environment variables.
75 russian|Russian Users Accounts:\
81 ######################################################################
82 ######################################################################
86 ######################################################################
87 ######################################################################
90 ## These settings are used by login(1) by default for classless users
91 ## Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
97 # :memorylocked-cur=10M:\
98 # :memoryuse-cur=30M:\
99 # :filesize=infinity:\
100 # :coredumpsize=infinity:\
102 # :openfiles-cur=64:\
110 ## standard - standard user defaults
113 # :copyright=/etc/COPYRIGHT:\
114 # :welcome=/etc/motd:\
115 # :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
116 # :path=~/bin /bin /usr/bin /usr/local/bin:\
117 # :manpath=/usr/share/man /usr/local/man:\
118 # :nologin=/var/run/nologin:\
131 # :passwordtime=90d:\
138 ## users of X (needs more resources!)
141 # :manpath=/usr/share/man /usr/pkg/xorg/man /usr/local/man:\
144 # :vmemoryuse=infinity:\
154 ## Staff users - few restrictions and allow login anytime
161 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
167 ## root - fallback for root logins
170 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
171 # :cputime=infinity:\
172 # :datasize=infinity:\
173 # :stacksize=infinity:\
174 # :memorylocked=infinity:\
175 # :memoryuse=infinity:\
176 # :filesize=infinity:\
177 # :coredumpsize=infinity:\
178 # :openfiles=infinity:\
179 # :maxproc=infinity:\
180 # :memoryuse-cur=32M:\
182 # :openfiles-cur=1024:\
186 # :tc=auth-root-defaults:
190 ## Settings used by /etc/rc
194 # :coredumpsize-cur=0:\
195 # :datasize=infinity:\
199 # :memoryuse-cur=64M:\
200 # :memorylocked-cur=64M:\
209 ## Settings used by news subsystem
212 # :path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
213 # :cputime=infinity:\
215 # :datasize-cur=64M:\
216 # :stacksize-cur=32M:\
217 # :coredumpsize-cur=0:\
218 # :maxmemorysize-cur=128M:\
219 # :memorylocked=32M:\
226 ## The dialer class should be used for a dialup PPP/SLIP accounts
227 ## Welcome messages/news suppressed
232 # :cputime=unlimited:\
245 ## Site full-time 24/7 PPP/SLIP connections
246 ## - no time accounting, restricted to access via dialin lines
272 ## Example standard accounting entries for subscriber levels
275 #subscriber|Subscribers:\
277 # :refreshtime=180d:\
281 # :expireperiod=180d:\
296 ## Subscriber accounts. These accounts have their login times
297 ## accounted and have access limits applied.
299 #subppp|PPP Subscriber Accounts:\
304 #subslip|SLIP 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:\