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"
21 :copyright=/etc/COPYRIGHT:\
23 :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
24 :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin ~/bin:\
25 :nologin=/var/run/nologin:\
28 :stacksize=unlimited:\
29 :memorylocked=unlimited:\
30 :memoryuse=unlimited:\
32 :coredumpsize=unlimited:\
33 :openfiles=unlimited:\
41 # A collection of common class names - forward them all to 'default'
42 # (login would normally do this anyway, but having a class name
43 # here suppresses the diagnostic)
59 # Root can always login
61 # N.B. login_getpwclass(3) will use this entry for the root account,
62 # in preference to 'default'.
68 # Russian Users Accounts. Setup proper environment variables.
70 russian:Russian Users Accounts:\
76 ######################################################################
77 ######################################################################
81 ######################################################################
82 ######################################################################
85 ## These settings are used by login(1) by default for classless users
86 ## Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
92 # :memorylocked-cur=10M:\
93 # :memoryuse-cur=30M:\
94 # :filesize=infinity:\
95 # :coredumpsize=infinity:\
105 ## standard - standard user defaults
108 # :copyright=/etc/COPYRIGHT:\
109 # :welcome=/etc/motd:\
110 # :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
111 # :path=~/bin /bin /usr/bin /usr/local/bin:\
112 # :manpath=/usr/share/man /usr/local/man:\
113 # :nologin=/var/run/nologin:\
125 # :passwordtime=90d:\
132 ## users of X (needs more resources!)
135 # :manpath=/usr/share/man /usr/X11R6/man /usr/local/man:\
147 ## Staff users - few restrictions and allow login anytime
154 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
160 ## root - fallback for root logins
163 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
164 # :cputime=infinity:\
165 # :datasize=infinity:\
166 # :stacksize=infinity:\
167 # :memorylocked=infinity:\
168 # :memoryuse=infinity:\
169 # :filesize=infinity:\
170 # :coredumpsize=infinity:\
171 # :openfiles=infinity:\
172 # :maxproc=infinity:\
173 # :memoryuse-cur=32M:\
175 # :openfiles-cur=1024:\
179 # :tc=auth-root-defaults:
183 ## Settings used by /etc/rc
187 # :coredumpsize-cur=0:\
188 # :datasize=infinity:\
192 # :memoryuse-cur=64M:\
193 # :memorylocked-cur=64M:\
202 ## Settings used by news subsystem
205 # :path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
206 # :cputime=infinity:\
208 # :datasize-cur=64M:\
209 # :stacksize-cur=32M:\
210 # :coredumpsize-cur=0:\
211 # :maxmemorysize-cur=128M:\
212 # :memorylocked=32M:\
219 ## The dialer class should be used for a dialup PPP/SLIP accounts
220 ## Welcome messages/news suppressed
225 # :cputime=unlimited:\
238 ## Site full-time 24/7 PPP/SLIP connections
239 ## - no time accounting, restricted to access via dialin lines
265 ## Example standard accounting entries for subscriber levels
268 #subscriber|Subscribers:\
270 # :refreshtime=180d:\
274 # :expireperiod=180d:\
289 ## Subscriber accounts. These accounts have their login times
290 ## accounted and have access limits applied.
292 #subppp|PPP Subscriber Accounts:\
297 #subslip|SLIP Subscriber Accounts:\
302 #subshell:Shell Subscriber Accounts:\