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.
12 # $Id: login.conf,v 1.28 1999/04/08 12:41:02 ache Exp $
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:\
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
68 # Russian Users Accounts. Setup proper environment variables.
70 russian:Russian Users Accounts:\
76 ######################################################################
77 ######################################################################
81 ######################################################################
82 ######################################################################
84 ## Authentication methods
85 ## Note that these are disabled by default, and libutil must
86 ## be rebuilt with LOGIN_CAP_AUTH defined to use them.
89 # :auth=krb_skey_or_passwd,passwd,kerberos,skey:
92 # :auth-login=krb_skey_or_passwd,passwd,kerberos,skey:\
93 # :auth-rlogin=krb_or_skey,kerberos,skey:
96 # :auth=skey_or_pwd,passwd,skey:
100 ## These settings are used by login(1) by default for classless users
101 ## Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
104 # :cputime=infinity:\
105 # :datasize-cur=22M:\
106 # :stacksize-cur=8M:\
107 # :memorylocked-cur=10M:\
108 # :memoryuse-cur=30M:\
109 # :filesize=infinity:\
110 # :coredumpsize=infinity:\
112 # :openfiles-cur=64:\
120 ## standard - standard user defaults
123 # :copyright=/etc/COPYRIGHT:\
124 # :welcome=/etc/motd:\
125 # :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
126 # :path=~/bin /bin /usr/bin /usr/local/bin:\
127 # :manpath=/usr/share/man /usr/local/man:\
128 # :nologin=/var/run/nologin:\
140 # :passwordperiod=90d:\
147 ## users of X (needs more resources!)
150 # :manpath=/usr/share/man /usr/X11R6/man /usr/local/man:\
162 ## Staff users - few restrictions and allow login anytime
169 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
175 ## root - fallback for root logins
178 # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
179 # :cputime=infinity:\
180 # :datasize=infinity:\
181 # :stacksize=infinity:\
182 # :memorylocked=infinity:\
183 # :memoryuse=infinity:\
184 # :filesize=infinity:\
185 # :coredumpsize=infinity:\
186 # :openfiles=infinity:\
187 # :maxproc=infinity:\
188 # :memoryuse-cur=32M:\
190 # :openfiles-cur=1024:\
194 # :tc=auth-root-defaults:
198 ## Settings used by /etc/rc
202 # :coredumpsize-cur=0:\
203 # :datasize=infinity:\
207 # :memoryuse-cur=64M:\
208 # :memorylocked-cur=64M:\
217 ## Settings used by news subsystem
220 # :path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
221 # :cputime=infinity:\
223 # :datasize-cur=64M:\
224 # :stacksize-cur=32M:\
225 # :coredumpsize-cur=0:\
226 # :maxmemorysize-cur=128M:\
227 # :memorylocked=32M:\
234 ## The dialer class should be used for a dialup PPP/SLIP accounts
235 ## Welcome messages/news suppressed
240 # :cputime=unlimited:\
253 ## Site full-time 24/7 PPP/SLIP connections
254 ## - no time accounting, restricted to access via dialin lines
280 ## Example standard accounting entries for subscriber levels
283 #subscriber|Subscribers:\
285 # :refreshtime=180d:\
289 # :expireperiod=180d:\
304 ## Subscriber accounts. These accounts have their login times
305 ## accounted and have access limits applied.
307 #subppp|PPP Subscriber Accounts:\
312 #subslip|SLIP Subscriber Accounts:\
317 #subshell:Shell Subscriber Accounts:\