You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

users 6.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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. # Indented (with the tab character) lines following the first
  35. # line indicate the configuration values to be passed back to
  36. # the comm server to allow the initiation of a user session.
  37. # This can include things like the PPP configuration values
  38. # or the host to log the user onto.
  39. #
  40. # You can include another `users' file with `$INCLUDE users.other'
  41. #
  42. #
  43. # For a list of RADIUS attributes, and links to their definitions,
  44. # see:
  45. #
  46. # http://www.freeradius.org/rfc/attributes.html
  47. #
  48. #
  49. # Deny access for a specific user. Note that this entry MUST
  50. # be before any other 'Auth-Type' attribute which results in the user
  51. # being authenticated.
  52. #
  53. # Note that there is NO 'Fall-Through' attribute, so the user will not
  54. # be given any additional resources.
  55. #
  56. #lameuser Auth-Type := Reject
  57. # Reply-Message = "Your account has been disabled."
  58. #
  59. # Deny access for a group of users.
  60. #
  61. # Note that there is NO 'Fall-Through' attribute, so the user will not
  62. # be given any additional resources.
  63. #
  64. #DEFAULT Group == "disabled", Auth-Type := Reject
  65. # Reply-Message = "Your account has been disabled."
  66. #
  67. #
  68. # This is a complete entry for "steve". Note that there is no Fall-Through
  69. # entry so that no DEFAULT entry will be used, and the user will NOT
  70. # get any attributes in addition to the ones listed here.
  71. #
  72. #steve Cleartext-Password := "testing"
  73. # Service-Type = Framed-User,
  74. # Framed-Protocol = PPP,
  75. # Framed-IP-Address = 172.16.3.33,
  76. # Framed-IP-Netmask = 255.255.255.0,
  77. # Framed-Routing = Broadcast-Listen,
  78. # Framed-Filter-Id = "std.ppp",
  79. # Framed-MTU = 1500,
  80. # Framed-Compression = Van-Jacobsen-TCP-IP
  81. #
  82. # This is an entry for a user with a space in their name.
  83. # Note the double quotes surrounding the name.
  84. #
  85. #"John Doe" Cleartext-Password := "hello"
  86. # Reply-Message = "Hello, %{User-Name}"
  87. #
  88. # Dial user back and telnet to the default host for that port
  89. #
  90. #Deg Cleartext-Password := "ge55ged"
  91. # Service-Type = Callback-Login-User,
  92. # Login-IP-Host = 0.0.0.0,
  93. # Callback-Number = "9,5551212",
  94. # Login-Service = Telnet,
  95. # Login-TCP-Port = Telnet
  96. #
  97. # Another complete entry. After the user "dialbk" has logged in, the
  98. # connection will be broken and the user will be dialed back after which
  99. # he will get a connection to the host "timeshare1".
  100. #
  101. #dialbk Cleartext-Password := "callme"
  102. # Service-Type = Callback-Login-User,
  103. # Login-IP-Host = timeshare1,
  104. # Login-Service = PortMaster,
  105. # Callback-Number = "9,1-800-555-1212"
  106. #
  107. # user "swilson" will only get a static IP number if he logs in with
  108. # a framed protocol on a terminal server in Alphen (see the huntgroups file).
  109. #
  110. # Note that by setting "Fall-Through", other attributes will be added from
  111. # the following DEFAULT entries
  112. #
  113. #swilson Service-Type == Framed-User, Huntgroup-Name == "alphen"
  114. # Framed-IP-Address = 192.168.1.65,
  115. # Fall-Through = Yes
  116. #
  117. # If the user logs in as 'username.shell', then authenticate them
  118. # using the default method, give them shell access, and stop processing
  119. # the rest of the file.
  120. #
  121. #DEFAULT Suffix == ".shell"
  122. # Service-Type = Login-User,
  123. # Login-Service = Telnet,
  124. # Login-IP-Host = your.shell.machine
  125. #
  126. # The rest of this file contains the several DEFAULT entries.
  127. # DEFAULT entries match with all login names.
  128. # Note that DEFAULT entries can also Fall-Through (see first entry).
  129. # A name-value pair from a DEFAULT entry will _NEVER_ override
  130. # an already existing name-value pair.
  131. #
  132. #
  133. # Set up different IP address pools for the terminal servers.
  134. # Note that the "+" behind the IP address means that this is the "base"
  135. # IP address. The Port-Id (S0, S1 etc) will be added to it.
  136. #
  137. #DEFAULT Service-Type == Framed-User, Huntgroup-Name == "alphen"
  138. # Framed-IP-Address = 192.168.1.32+,
  139. # Fall-Through = Yes
  140. #DEFAULT Service-Type == Framed-User, Huntgroup-Name == "delft"
  141. # Framed-IP-Address = 192.168.2.32+,
  142. # Fall-Through = Yes
  143. #
  144. # Sample defaults for all framed connections.
  145. #
  146. #DEFAULT Service-Type == Framed-User
  147. # Framed-IP-Address = 255.255.255.254,
  148. # Framed-MTU = 576,
  149. # Service-Type = Framed-User,
  150. # Fall-Through = Yes
  151. #
  152. # Default for PPP: dynamic IP address, PPP mode, VJ-compression.
  153. # NOTE: we do not use Hint = "PPP", since PPP might also be auto-detected
  154. # by the terminal server in which case there may not be a "P" suffix.
  155. # The terminal server sends "Framed-Protocol = PPP" for auto PPP.
  156. #
  157. DEFAULT Framed-Protocol == PPP
  158. Framed-Protocol = PPP,
  159. Framed-Compression = Van-Jacobson-TCP-IP
  160. #
  161. # Default for CSLIP: dynamic IP address, SLIP mode, VJ-compression.
  162. #
  163. DEFAULT Hint == "CSLIP"
  164. Framed-Protocol = SLIP,
  165. Framed-Compression = Van-Jacobson-TCP-IP
  166. #
  167. # Default for SLIP: dynamic IP address, SLIP mode.
  168. #
  169. DEFAULT Hint == "SLIP"
  170. Framed-Protocol = SLIP
  171. #
  172. # Last default: rlogin to our main server.
  173. #
  174. #DEFAULT
  175. # Service-Type = Login-User,
  176. # Login-Service = Rlogin,
  177. # Login-IP-Host = shellbox.ispdomain.com
  178. # #
  179. # # Last default: shell on the local terminal server.
  180. # #
  181. # DEFAULT
  182. # Service-Type = Administrative-User
  183. bob Cleartext-Password := "hello"
  184. # On no match, the user is denied access.