netinet{,6}: Assert in{,6}_inithead() are only used for system routing tables.
[dragonfly.git] / nrelease / gui / etc / login.conf
CommitLineData
bfe20b28
SW
1# login.conf - login class capabilities database.
2#
3# Remember to rebuild the database after each change to this file:
4#
5# cap_mkdb /etc/login.conf
6#
7# This file controls resource limits, accounting limits and
8# default user environment settings.
9#
10# $FreeBSD: src/etc/login.conf,v 1.34.2.6 2002/07/02 20:06:18 dillon Exp $
11# $DragonFly: src/nrelease/gui/etc/login.conf,v 1.1 2008/09/01 21:20:30 swildner Exp $
12#
13
14# Default settings effectively disable resource limits, see the
15# examples below for a starting point to enable them.
16
17# defaults
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"
20
21default:\
22 :passwd_format=md5:\
23 :copyright=/etc/COPYRIGHT:\
24 :welcome=/etc/motd:\
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:\
28 :cputime=unlimited:\
29 :datasize=unlimited:\
30 :stacksize=unlimited:\
31 :memorylocked=unlimited:\
32 :memoryuse=unlimited:\
33 :filesize=unlimited:\
34 :coredumpsize=unlimited:\
35 :openfiles=unlimited:\
36 :maxproc=unlimited:\
37 :posixlocks=unlimited:\
38 :sbsize=unlimited:\
39 :vmemoryuse=unlimited:\
40 :priority=0:\
41 :ignoretime@:\
42 :umask=022:\
43 :lang=en_US.UTF-8
44
45
46#
47# A collection of common class names - forward them all to 'default'
48# (login would normally do this anyway, but having a class name
49# here suppresses the diagnostic)
50#
51standard:\
52 :tc=default:
53xuser:\
54 :tc=default:
55staff:\
56 :tc=default:
57daemon:\
58 :tc=default:
59news:\
60 :tc=default:
61dialer:\
62 :tc=default:
63
64#
65# Root can always login
66#
67# N.B. login_getpwclass(3) will use this entry for the root account,
68# in preference to 'default'.
69root:\
70 :ignorenologin:\
71 :tc=default:
72
73#
74# Russian Users Accounts. Setup proper environment variables.
75#
76russian|Russian Users Accounts:\
77 :charset=KOI8-R:\
78 :lang=ru_RU.KOI8-R:\
79 :tc=default:
80
81
82######################################################################
83######################################################################
84##
85## Example entries
86##
87######################################################################
88######################################################################
89
90## Example defaults
91## These settings are used by login(1) by default for classless users
92## Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
93#
94#default:\
95# :cputime=infinity:\
96# :datasize-cur=22M:\
97# :stacksize-cur=8M:\
98# :memorylocked-cur=10M:\
99# :memoryuse-cur=30M:\
100# :filesize=infinity:\
101# :coredumpsize=infinity:\
102# :maxproc-cur=64:\
103# :openfiles-cur=64:\
104# :priority=0:\
105# :requirehome@:\
106# :umask=022:\
107# :tc=auth-defaults:
108#
109#
110##
111## standard - standard user defaults
112##
113#standard:\
114# :copyright=/etc/COPYRIGHT:\
115# :welcome=/etc/motd:\
116# :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
117# :path=~/bin /bin /usr/bin /usr/local/bin:\
118# :manpath=/usr/share/man /usr/local/man:\
119# :nologin=/var/run/nologin:\
120# :cputime=1h30m:\
121# :datasize=8M:\
122# :vmemoryuse=100M:\
123# :stacksize=2M:\
124# :memorylocked=4M:\
125# :memoryuse=8M:\
126# :filesize=8M:\
127# :coredumpsize=8M:\
128# :openfiles=24:\
129# :maxproc=32:\
130# :priority=0:\
131# :requirehome:\
132# :passwordtime=90d:\
133# :umask=002:\
134# :ignoretime@:\
135# :tc=default:
136#
137#
138##
139## users of X (needs more resources!)
140##
141#xuser:\
142# :manpath=/usr/share/man /usr/pkg/xorg/man /usr/local/man:\
143# :cputime=4h:\
144# :datasize=12M:\
145# :vmemoryuse=infinity:\
146# :stacksize=4M:\
147# :filesize=8M:\
148# :memoryuse=16M:\
149# :openfiles=32:\
150# :maxproc=48:\
151# :tc=standard:
152#
153#
154##
155## Staff users - few restrictions and allow login anytime
156##
157#staff:\
158# :ignorenologin:\
159# :ignoretime:\
160# :requirehome@:\
161# :accounted@:\
162# :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
163# :umask=022:\
164# :tc=standard:
165#
166#
167##
168## root - fallback for root logins
169##
170#root:\
171# :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
172# :cputime=infinity:\
173# :datasize=infinity:\
174# :stacksize=infinity:\
175# :memorylocked=infinity:\
176# :memoryuse=infinity:\
177# :filesize=infinity:\
178# :coredumpsize=infinity:\
179# :openfiles=infinity:\
180# :maxproc=infinity:\
181# :memoryuse-cur=32M:\
182# :maxproc-cur=64:\
183# :openfiles-cur=1024:\
184# :priority=0:\
185# :requirehome@:\
186# :umask=022:\
187# :tc=auth-root-defaults:
188#
189#
190##
191## Settings used by /etc/rc
192##
193#daemon:\
194# :coredumpsize@:\
195# :coredumpsize-cur=0:\
196# :datasize=infinity:\
197# :datasize-cur@:\
198# :maxproc=512:\
199# :maxproc-cur@:\
200# :memoryuse-cur=64M:\
201# :memorylocked-cur=64M:\
202# :openfiles=1024:\
203# :openfiles-cur@:\
204# :stacksize=16M:\
205# :stacksize-cur@:\
206# :tc=default:
207#
208#
209##
210## Settings used by news subsystem
211##
212#news:\
213# :path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
214# :cputime=infinity:\
215# :filesize=128M:\
216# :datasize-cur=64M:\
217# :stacksize-cur=32M:\
218# :coredumpsize-cur=0:\
219# :maxmemorysize-cur=128M:\
220# :memorylocked=32M:\
221# :maxproc=128:\
222# :openfiles=256:\
223# :tc=default:
224#
225#
226##
227## The dialer class should be used for a dialup PPP/SLIP accounts
228## Welcome messages/news suppressed
229##
230#dialer:\
231# :hushlogin:\
232# :requirehome@:\
233# :cputime=unlimited:\
234# :filesize=2M:\
235# :datasize=2M:\
236# :stacksize=4M:\
237# :coredumpsize=0:\
238# :memoryuse=4M:\
239# :memorylocked=1M:\
240# :maxproc=16:\
241# :openfiles=32:\
242# :tc=standard:
243#
244#
245##
246## Site full-time 24/7 PPP/SLIP connections
247## - no time accounting, restricted to access via dialin lines
248##
249#site:\
250# :ignoretime:\
251# :passwordtime@:\
252# :refreshtime@:\
253# :refreshperiod@:\
254# :sessionlimit@:\
255# :autodelete@:\
256# :expireperiod@:\
257# :graceexpire@:\
258# :gracetime@:\
259# :warnexpire@:\
260# :warnpassword@:\
261# :idletime@:\
262# :sessiontime@:\
263# :daytime@:\
264# :weektime@:\
265# :monthtime@:\
266# :warntime@:\
267# :accounted@:\
268# :tc=dialer:\
269# :tc=staff:
270#
271#
272##
273## Example standard accounting entries for subscriber levels
274##
275#
276#subscriber|Subscribers:\
277# :accounted:\
278# :refreshtime=180d:\
279# :refreshperiod@:\
280# :sessionlimit@:\
281# :autodelete=30d:\
282# :expireperiod=180d:\
283# :graceexpire=7d:\
284# :gracetime=10m:\
285# :warnexpire=7d:\
286# :warnpassword=7d:\
287# :idletime=30m:\
288# :sessiontime=4h:\
289# :daytime=6h:\
290# :weektime=40h:\
291# :monthtime=120h:\
292# :warntime=4h:\
293# :tc=standard:
294#
295#
296##
297## Subscriber accounts. These accounts have their login times
298## accounted and have access limits applied.
299##
300#subppp|PPP Subscriber Accounts:\
301# :tc=dialer:\
302# :tc=subscriber:
303#
304#
305#subslip|SLIP Subscriber Accounts:\
306# :tc=dialer:\
307# :tc=subscriber:
308#
309#
310#subshell|Shell Subscriber Accounts:\
311# :tc=subscriber:
312#
313##
314## If you want some of the accounts to use traditional UNIX DES based
315## password hashes.
316##
317#des_users:\
318# :passwd_format=des:\
319# :tc=default: