updated operators in check-item lines for new '==' and ':='
[freeradius.git] / raddb / users
1 #
2 #       This file contains security and configuration information
3 #       for each user.  The first field is the user's name and
4 #       can be up to 8 characters in length.  This is followed (on
5 #       the same line) with the list of authentication requirements
6 #       for that user.  This can include password, comm server name,
7 #       comm server port number, protocol type (perhaps set by the "hints"
8 #       file), and huntgroup name (set by the "huntgroups" file).
9 #
10 #       When an authentication request is received from the comm server,
11 #       these values are tested. Only the first match is used unless the
12 #       "Fall-Through" variable is set to "Yes".
13 #
14 #       A special user named "DEFAULT" matches on all usernames.
15 #       You can have several DEFAULT entries. All entries are processed
16 #       in the order they appear in this file. The first entry that
17 #       matches the login-request will stop processing unless you use
18 #       the Fall-Through variable.
19 #
20 #       If you use the database support to turn this file into a .db or .dbm
21 #       file, the DEFAULT entries _have_ to be at the end of this file and
22 #       you can't have multiple entries for one username.
23 #
24 #       You don't need to specify a password if you set Auth-Type = System
25 #       on the list of authentication requirements. The RADIUS server
26 #       will then check the system password file.
27 #
28 #       Indented (with the tab character) lines following the first
29 #       line indicate the configuration values to be passed back to
30 #       the comm server to allow the initiation of a user session.
31 #       This can include things like the PPP configuration values
32 #       or the host to log the user onto.
33 #
34 #       You can include another `users' file with `$INCLUDE users.other'
35 #
36
37 #
38 # This is a complete entry for "steve". Note that there is no Fall-Through
39 # entry so that no DEFAULT entry will be used.
40 #
41 #steve  Auth-Type := Local, Password == "testing"
42 #       Service-Type = Framed-User,
43 #       Framed-Protocol = PPP,
44 #       Framed-IP-Address = 172.16.3.33,
45 #       Framed-IP-Netmask = 255.255.255.0,
46 #       Framed-Routing = Broadcast-Listen,
47 #       Framed-Filter-Id = "std.ppp",
48 #       Framed-MTU = 1500,
49 #       Framed-Compression = Van-Jacobsen-TCP-IP
50
51 #
52 # Dial user back and telnet to the default host for that port
53 #
54 #Deg    Auth-Type := Local, Password == "ge55ged"
55 #       Service-Type = Callback-Login-User,
56 #       Login-IP-Host = 0.0.0.0,
57 #       Callback-Number = "9,5551212",
58 #       Login-Service = Telnet,
59 #       Login-TCP-Port = 23
60
61 #
62 # Another complete entry. After the user "dialbk" has logged in, the
63 # connection will be broken and the user will be dialed back after which
64 # he will get a connection to the host "timeshare1".
65 #
66 #dialbk Auth-Type := Local, Password == "callme"
67 #       Service-Type = Callback-Login-User,
68 #       Login-IP-Host = timeshare1,
69 #       Login-Service = PortMaster,
70 #       Callback-Number = "9,1-800-555-1212"
71
72 #
73 # user "swilson" will only get a static IP number if he logs in with
74 # a framed protocol on a terminal server in Alphen (see the huntgroups file).
75 # Note that by setting "Fall-Through" the rest will be gotten from the
76 # appropriate DEFAULT entry.
77 #
78 #swilson        Service-Type == Framed-User, Huntgroup-Name == "alphen"
79 #               Framed-IP-Address = 192.168.1.65,
80 #               Fall-Through = Yes
81
82 #
83 # The rest of this file contains the several DEFAULT entries.
84 # DEFAULT entries match with all login names.
85 # Note that DEFAULT entries can also Fall-Through (see first entry).
86 # A name-value pair from a DEFAULT entry will _NEVER_ override
87 # an already existing name-value pair.
88 #
89
90 #
91 # First setup all accounts to be checked against the UNIX /etc/passwd.
92 # (Unless a password was already given earlier in this file).
93 #
94 DEFAULT Auth-Type := System
95         Fall-Through = 1
96
97 #
98 # Set up different IP address pools for the terminal servers.
99 # Note that the "+" behind the IP address means that this is the "base"
100 # IP address. The Port-Id (S0, S1 etc) will be added to it.
101 #
102 #DEFAULT        Service-Type == Framed-User, Huntgroup-Name == "alphen"
103 #               Framed-IP-Address = 192.168.1.32+,
104 #               Fall-Through = Yes
105
106 #DEFAULT        Service-Type == Framed-User, Huntgroup-Name == "delft"
107 #               Framed-IP-Address = 192.168.2.32+,
108 #               Fall-Through = Yes
109
110 #
111 # Defaults for all framed connections.
112 #
113 DEFAULT Service-Type == Framed-User
114         Framed-IP-Address = 255.255.255.254,
115         Framed-MTU = 576,
116         Service-Type = Framed-User,
117         Fall-Through = Yes
118
119 #
120 # Default for PPP: dynamic IP address, PPP mode, VJ-compression.
121 # NOTE: we do not use Hint = "PPP", since PPP might also be auto-detected
122 #       by the terminal server in which case there may not be a "P" suffix.
123 #       The terminal server sends "Framed-Protocol = PPP" for auto PPP.
124 #
125 DEFAULT Framed-Protocol == PPP
126         Framed-Protocol = PPP,
127         Framed-Compression = Van-Jacobson-TCP-IP
128
129 #
130 # Default for CSLIP: dynamic IP address, SLIP mode, VJ-compression.
131 #
132 DEFAULT Hint == "CSLIP"
133         Framed-Protocol = SLIP,
134         Framed-Compression = Van-Jacobson-TCP-IP
135
136 #
137 # Default for SLIP: dynamic IP address, SLIP mode.
138 #
139 DEFAULT Hint == "SLIP"
140         Framed-Protocol = SLIP
141
142 #
143 # Last default: rlogin to our main server.
144 #
145 #DEFAULT
146 #       Service-Type = Login-User,
147 #       Login-Service = Rlogin,
148 #       Login-IP-Host = shellbox.ispdomain.com
149
150 # #
151 # # Last default: shell on the local terminal server.
152 # #
153 # DEFAULT
154 #       Service-Type = Shell-User
155
156 # On no match, the user is denied access.