2 # Please read the documentation file ../doc/processing_users_file,
3 # or 'man 5 users' (after installing the server) for more information.
5 # As of 1.1.4, you SHOULD NOT use Auth-Type. See "man rlm_pap"
6 # for a much better way of dealing with differing passwords.
7 # If you set Auth-Type, SOME AUTHENTICATION METHODS WILL NOT WORK.
8 # If you don't set Auth-Type, the server will figure out what to do,
9 # and will almost always do the right thing.
11 # This file contains authentication security and configuration
12 # information for each user. Accounting requests are NOT processed
13 # through this file. Instead, see 'acct_users', in this directory.
15 # The first field is the user's name and can be up to
16 # 253 characters in length. This is followed (on the same line) with
17 # the list of authentication requirements for that user. This can
18 # include password, comm server name, comm server port number, protocol
19 # type (perhaps set by the "hints" file), and huntgroup name (set by
20 # the "huntgroups" file).
22 # Indented (with the tab character) lines following the first
23 # line indicate the configuration values to be passed back to
24 # the comm server to allow the initiation of a user session.
25 # This can include things like the PPP configuration values
26 # or the host to log the user onto.
28 # If you are not sure why a particular reply is being sent by the
29 # server, then run the server in debugging mode (radiusd -X), and
30 # you will see which entries in this file are matched.
32 # When an authentication request is received from the comm server,
33 # these values are tested. Only the first match is used unless the
34 # "Fall-Through" variable is set to "Yes".
36 # A special user named "DEFAULT" matches on all usernames.
37 # You can have several DEFAULT entries. All entries are processed
38 # in the order they appear in this file. The first entry that
39 # matches the login-request will stop processing unless you use
40 # the Fall-Through variable.
42 # You can include another `users' file with `$INCLUDE users.other'
46 # For a list of RADIUS attributes, and links to their definitions,
49 # http://www.freeradius.org/rfc/attributes.html
53 # Deny access for a specific user. Note that this entry MUST
54 # be before any other 'Auth-Type' attribute which results in the user
55 # being authenticated.
57 # Note that there is NO 'Fall-Through' attribute, so the user will not
58 # be given any additional resources.
60 #lameuser Auth-Type := Reject
61 # Reply-Message = "Your account has been disabled."
64 # Deny access for a group of users.
66 # Note that there is NO 'Fall-Through' attribute, so the user will not
67 # be given any additional resources.
69 #DEFAULT Group == "disabled", Auth-Type := Reject
70 # Reply-Message = "Your account has been disabled."
74 # This is a complete entry for "steve". Note that there is no Fall-Through
75 # entry so that no DEFAULT entry will be used, and the user will NOT
76 # get any attributes in addition to the ones listed here.
78 #steve Cleartext-Password := "testing"
79 # Service-Type = Framed-User,
80 # Framed-Protocol = PPP,
81 # Framed-IP-Address = 172.16.3.33,
82 # Framed-IP-Netmask = 255.255.255.0,
83 # Framed-Routing = Broadcast-Listen,
84 # Framed-Filter-Id = "std.ppp",
86 # Framed-Compression = Van-Jacobsen-TCP-IP
89 # This is an entry for a user with a space in their name.
90 # Note the double quotes surrounding the name.
92 #"John Doe" Cleartext-Password := "hello"
93 # Reply-Message = "Hello, %u"
96 # Dial user back and telnet to the default host for that port
98 #Deg Cleartext-Password := "ge55ged"
99 # Service-Type = Callback-Login-User,
100 # Login-IP-Host = 0.0.0.0,
101 # Callback-Number = "9,5551212",
102 # Login-Service = Telnet,
103 # Login-TCP-Port = Telnet
106 # Another complete entry. After the user "dialbk" has logged in, the
107 # connection will be broken and the user will be dialed back after which
108 # he will get a connection to the host "timeshare1".
110 #dialbk Cleartext-Password := "callme"
111 # Service-Type = Callback-Login-User,
112 # Login-IP-Host = timeshare1,
113 # Login-Service = PortMaster,
114 # Callback-Number = "9,1-800-555-1212"
117 # user "swilson" will only get a static IP number if he logs in with
118 # a framed protocol on a terminal server in Alphen (see the huntgroups file).
120 # Note that by setting "Fall-Through", other attributes will be added from
121 # the following DEFAULT entries
123 #swilson Service-Type == Framed-User, Huntgroup-Name == "alphen"
124 # Framed-IP-Address = 192.168.1.65,
128 # If the user logs in as 'username.shell', then authenticate them
129 # against the system database, give them shell access, and stop processing
130 # the rest of the file.
132 # Note that authenticating against an /etc/passwd file works ONLY for PAP,
133 # and not for CHAP, MS-CHAP, or EAP.
135 #DEFAULT Suffix == ".shell", Auth-Type := System
136 # Service-Type = Login-User,
137 # Login-Service = Telnet,
138 # Login-IP-Host = your.shell.machine
142 # The rest of this file contains the several DEFAULT entries.
143 # DEFAULT entries match with all login names.
144 # Note that DEFAULT entries can also Fall-Through (see first entry).
145 # A name-value pair from a DEFAULT entry will _NEVER_ override
146 # an already existing name-value pair.
150 # First setup all accounts to be checked against the UNIX /etc/passwd.
151 # (Unless a password was already given earlier in this file).
153 DEFAULT Auth-Type = System
157 # Set up different IP address pools for the terminal servers.
158 # Note that the "+" behind the IP address means that this is the "base"
159 # IP address. The Port-Id (S0, S1 etc) will be added to it.
161 #DEFAULT Service-Type == Framed-User, Huntgroup-Name == "alphen"
162 # Framed-IP-Address = 192.168.1.32+,
165 #DEFAULT Service-Type == Framed-User, Huntgroup-Name == "delft"
166 # Framed-IP-Address = 192.168.2.32+,
170 # Defaults for all framed connections.
172 DEFAULT Service-Type == Framed-User
173 Framed-IP-Address = 255.255.255.254,
175 Service-Type = Framed-User,
179 # Default for PPP: dynamic IP address, PPP mode, VJ-compression.
180 # NOTE: we do not use Hint = "PPP", since PPP might also be auto-detected
181 # by the terminal server in which case there may not be a "P" suffix.
182 # The terminal server sends "Framed-Protocol = PPP" for auto PPP.
184 DEFAULT Framed-Protocol == PPP
185 Framed-Protocol = PPP,
186 Framed-Compression = Van-Jacobson-TCP-IP
189 # Default for CSLIP: dynamic IP address, SLIP mode, VJ-compression.
191 DEFAULT Hint == "CSLIP"
192 Framed-Protocol = SLIP,
193 Framed-Compression = Van-Jacobson-TCP-IP
196 # Default for SLIP: dynamic IP address, SLIP mode.
198 DEFAULT Hint == "SLIP"
199 Framed-Protocol = SLIP
202 # Last default: rlogin to our main server.
205 # Service-Type = Login-User,
206 # Login-Service = Rlogin,
207 # Login-IP-Host = shellbox.ispdomain.com
210 # # Last default: shell on the local terminal server.
213 # Service-Type = Shell-User
215 # On no match, the user is denied access.