import from HEAD:
[freeradius.git] / raddb / users
1 #
2 #       Please read the documentation file ../doc/processing_users_file,
3 #       or 'man 5 users' (after installing the server) for more information.
4 #
5 #       This file contains authentication security and configuration
6 #       information for each user.  Accounting requests are NOT processed
7 #       through this file.  Instead, see 'acct_users', in this directory.
8 #
9 #       The first field is the user's name and can be up to
10 #       253 characters in length.  This is followed (on the same line) with
11 #       the list of authentication requirements for that user.  This can
12 #       include password, comm server name, comm server port number, protocol
13 #       type (perhaps set by the "hints" file), and huntgroup name (set by
14 #       the "huntgroups" file).
15 #
16 #       If you are not sure why a particular reply is being sent by the
17 #       server, then run the server in debugging mode (radiusd -X), and
18 #       you will see which entries in this file are matched.
19 #
20 #       When an authentication request is received from the comm server,
21 #       these values are tested. Only the first match is used unless the
22 #       "Fall-Through" variable is set to "Yes".
23 #
24 #       A special user named "DEFAULT" matches on all usernames.
25 #       You can have several DEFAULT entries. All entries are processed
26 #       in the order they appear in this file. The first entry that
27 #       matches the login-request will stop processing unless you use
28 #       the Fall-Through variable.
29 #
30 #       If you use the database support to turn this file into a .db or .dbm
31 #       file, the DEFAULT entries _have_ to be at the end of this file and
32 #       you can't have multiple entries for one username.
33 #
34 #       You don't need to specify a password if you set Auth-Type += System
35 #       on the list of authentication requirements. The RADIUS server
36 #       will then check the system password file.
37 #
38 #       Indented (with the tab character) lines following the first
39 #       line indicate the configuration values to be passed back to
40 #       the comm server to allow the initiation of a user session.
41 #       This can include things like the PPP configuration values
42 #       or the host to log the user onto.
43 #
44 #       You can include another `users' file with `$INCLUDE users.other'
45 #
46
47 #
48 #       For a list of RADIUS attributes, and links to their definitions,
49 #       see:
50 #
51 #       http://www.freeradius.org/rfc/attributes.html
52 #
53
54 #
55 # Deny access for a specific user.  Note that this entry MUST
56 # be before any other 'Auth-Type' attribute which results in the user
57 # being authenticated.
58 #
59 # Note that there is NO 'Fall-Through' attribute, so the user will not
60 # be given any additional resources.
61 #
62 #lameuser       Auth-Type := Reject
63 #               Reply-Message = "Your account has been disabled."
64
65 #
66 # Deny access for a group of users.
67 #
68 # Note that there is NO 'Fall-Through' attribute, so the user will not
69 # be given any additional resources.
70 #
71 #DEFAULT        Group == "disabled", Auth-Type := Reject
72 #               Reply-Message = "Your account has been disabled."
73 #
74
75 #
76 # This is a complete entry for "steve". Note that there is no Fall-Through
77 # entry so that no DEFAULT entry will be used, and the user will NOT
78 # get any attributes in addition to the ones listed here.
79 #
80 #steve  Auth-Type := Local, User-Password == "testing"
81 #       Service-Type = Framed-User,
82 #       Framed-Protocol = PPP,
83 #       Framed-IP-Address = 172.16.3.33,
84 #       Framed-IP-Netmask = 255.255.255.0,
85 #       Framed-Routing = Broadcast-Listen,
86 #       Framed-Filter-Id = "std.ppp",
87 #       Framed-MTU = 1500,
88 #       Framed-Compression = Van-Jacobsen-TCP-IP
89
90 #
91 # This is an entry for a user with a space in their name.
92 # Note the double quotes surrounding the name.
93 #
94 #"John Doe"     Auth-Type := Local, User-Password == "hello"
95 #               Reply-Message = "Hello, %u"
96
97 #
98 # Dial user back and telnet to the default host for that port
99 #
100 #Deg    Auth-Type := Local, User-Password == "ge55ged"
101 #       Service-Type = Callback-Login-User,
102 #       Login-IP-Host = 0.0.0.0,
103 #       Callback-Number = "9,5551212",
104 #       Login-Service = Telnet,
105 #       Login-TCP-Port = Telnet
106
107 #
108 # Another complete entry. After the user "dialbk" has logged in, the
109 # connection will be broken and the user will be dialed back after which
110 # he will get a connection to the host "timeshare1".
111 #
112 #dialbk Auth-Type := Local, User-Password == "callme"
113 #       Service-Type = Callback-Login-User,
114 #       Login-IP-Host = timeshare1,
115 #       Login-Service = PortMaster,
116 #       Callback-Number = "9,1-800-555-1212"
117
118 #
119 # user "swilson" will only get a static IP number if he logs in with
120 # a framed protocol on a terminal server in Alphen (see the huntgroups file).
121 #
122 # Note that by setting "Fall-Through", other attributes will be added from
123 # the following DEFAULT entries
124 #
125 #swilson        Service-Type == Framed-User, Huntgroup-Name == "alphen"
126 #               Framed-IP-Address = 192.168.1.65,
127 #               Fall-Through = Yes
128
129 #
130 # If the user logs in as 'username.shell', then authenticate them
131 # against the system database, give them shell access, and stop processing
132 # the rest of the file.
133 #
134 #DEFAULT        Suffix == ".shell", Auth-Type := System
135 #               Service-Type = Login-User,
136 #               Login-Service = Telnet,
137 #               Login-IP-Host = your.shell.machine
138
139
140 #
141 # The rest of this file contains the several DEFAULT entries.
142 # DEFAULT entries match with all login names.
143 # Note that DEFAULT entries can also Fall-Through (see first entry).
144 # A name-value pair from a DEFAULT entry will _NEVER_ override
145 # an already existing name-value pair.
146 #
147
148 #
149 # First setup all accounts to be checked against the UNIX /etc/passwd.
150 # (Unless a password was already given earlier in this file).
151 #
152 DEFAULT Auth-Type = System
153         Fall-Through = 1
154
155 #
156 # Set up different IP address pools for the terminal servers.
157 # Note that the "+" behind the IP address means that this is the "base"
158 # IP address. The Port-Id (S0, S1 etc) will be added to it.
159 #
160 #DEFAULT        Service-Type == Framed-User, Huntgroup-Name == "alphen"
161 #               Framed-IP-Address = 192.168.1.32+,
162 #               Fall-Through = Yes
163
164 #DEFAULT        Service-Type == Framed-User, Huntgroup-Name == "delft"
165 #               Framed-IP-Address = 192.168.2.32+,
166 #               Fall-Through = Yes
167
168 #
169 # Defaults for all framed connections.
170 #
171 DEFAULT Service-Type == Framed-User
172         Framed-IP-Address = 255.255.255.254,
173         Framed-MTU = 576,
174         Service-Type = Framed-User,
175         Fall-Through = Yes
176
177 #
178 # Default for PPP: dynamic IP address, PPP mode, VJ-compression.
179 # NOTE: we do not use Hint = "PPP", since PPP might also be auto-detected
180 #       by the terminal server in which case there may not be a "P" suffix.
181 #       The terminal server sends "Framed-Protocol = PPP" for auto PPP.
182 #
183 DEFAULT Framed-Protocol == PPP
184         Framed-Protocol = PPP,
185         Framed-Compression = Van-Jacobson-TCP-IP
186
187 #
188 # Default for CSLIP: dynamic IP address, SLIP mode, VJ-compression.
189 #
190 DEFAULT Hint == "CSLIP"
191         Framed-Protocol = SLIP,
192         Framed-Compression = Van-Jacobson-TCP-IP
193
194 #
195 # Default for SLIP: dynamic IP address, SLIP mode.
196 #
197 DEFAULT Hint == "SLIP"
198         Framed-Protocol = SLIP
199
200 #
201 # Last default: rlogin to our main server.
202 #
203 #DEFAULT
204 #       Service-Type = Login-User,
205 #       Login-Service = Rlogin,
206 #       Login-IP-Host = shellbox.ispdomain.com
207
208 # #
209 # # Last default: shell on the local terminal server.
210 # #
211 # DEFAULT
212 #       Service-Type = Shell-User
213
214 # On no match, the user is denied access.