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"
21 :passwd_format=sha512:\
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/pkg/sbin /usr/pkg/bin ~/bin:\
26 :nologin=/var/run/nologin:\
29 :stacksize=unlimited:\
30 :memorylocked=unlimited:\
31 :memoryuse=unlimited:\
33 :coredumpsize=unlimited:\
34 :openfiles=unlimited:\
36 :posixlocks=unlimited:\
38 :vmemoryuse=unlimited:\
45 # A collection of common class names - forward them all to 'default'
46 # (login would normally do this anyway, but having a class name
47 # here suppresses the diagnostic)
63 # Root can always login
65 # N.B. login_getpwclass(3) will use this entry for the root account,
66 # in preference to 'default'.
72 # Russian Users Accounts. Setup proper environment variables.
74 russian|Russian Users Accounts:\
80 ######################################################################
81 ######################################################################
85 ######################################################################
86 ######################################################################
89 ## These settings are used by login(1) by default for classless users
90 ## Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
96 # :memorylocked-cur=10M:\
97 # :memoryuse-cur=30M:\
98 # :filesize=infinity:\
99 # :coredumpsize=infinity:\
101 # :openfiles-cur=64:\
109 ## standard - standard user defaults
112 # :copyright=/etc/COPYRIGHT:\
113 # :welcome=/etc/motd:\
114 # :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
115 # :path=~/bin /bin /usr/bin /usr/local/bin:\
116 # :manpath=/usr/share/man /usr/local/man:\
117 # :nologin=/var/run/nologin:\
130 # :passwordtime=90d:\
137 ## users of X (needs more resources!)
140 # :manpath=/usr/share/man /usr/local/man /usr/pkg/man:\
143 # :vmemoryuse=infinity:\
153 ## Staff users - few restrictions and allow login anytime
160 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
166 ## root - fallback for root logins
169 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
170 # :cputime=infinity:\
171 # :datasize=infinity:\
172 # :stacksize=infinity:\
173 # :memorylocked=infinity:\
174 # :memoryuse=infinity:\
175 # :filesize=infinity:\
176 # :coredumpsize=infinity:\
177 # :openfiles=infinity:\
178 # :maxproc=infinity:\
179 # :memoryuse-cur=32M:\
181 # :openfiles-cur=1024:\
185 # :tc=auth-root-defaults:
189 ## Settings used by /etc/rc
193 # :coredumpsize-cur=0:\
194 # :datasize=infinity:\
198 # :memoryuse-cur=64M:\
199 # :memorylocked-cur=64M:\
208 ## Settings used by news subsystem
211 # :path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
212 # :cputime=infinity:\
214 # :datasize-cur=64M:\
215 # :stacksize-cur=32M:\
216 # :coredumpsize-cur=0:\
217 # :maxmemorysize-cur=128M:\
218 # :memorylocked=32M:\
225 ## The dialer class should be used for a dialup PPP/SLIP accounts
226 ## Welcome messages/news suppressed
231 # :cputime=unlimited:\
244 ## Site full-time 24/7 PPP/SLIP connections
245 ## - no time accounting, restricted to access via dialin lines
271 ## Example standard accounting entries for subscriber levels
274 #subscriber|Subscribers:\
276 # :refreshtime=180d:\
280 # :expireperiod=180d:\
295 ## Subscriber accounts. These accounts have their login times
296 ## accounted and have access limits applied.
298 #subppp|PPP Subscriber Accounts:\
303 #subslip|SLIP Subscriber Accounts:\
308 #subshell|Shell Subscriber Accounts:\
312 ## If you want some of the accounts to use traditional UNIX DES based
316 # :passwd_format=des:\