Chetan Gaonker | 7f4bf74 | 2016-05-04 15:56:08 -0700 | [diff] [blame] | 1 | # -*- text -*- |
| 2 | # |
| 3 | # $Id: 82319c033bbf349991a46b8f198a5bf5487b5da8 $ |
| 4 | |
| 5 | # Write a 'utmp' style file, of which users are currently |
| 6 | # logged in, and where they've logged in from. |
| 7 | # |
| 8 | # This file is used mainly for Simultaneous-Use checking, |
| 9 | # and also 'radwho', to see who's currently logged in. |
| 10 | # |
| 11 | radutmp { |
| 12 | # Where the file is stored. It's not a log file, |
| 13 | # so it doesn't need rotating. |
| 14 | # |
| 15 | filename = ${logdir}/radutmp |
| 16 | |
| 17 | # The field in the packet to key on for the |
| 18 | # 'user' name, If you have other fields which you want |
| 19 | # to use to key on to control Simultaneous-Use, |
| 20 | # then you can use them here. |
| 21 | # |
| 22 | # Note, however, that the size of the field in the |
| 23 | # 'utmp' data structure is small, around 32 |
| 24 | # characters, so that will limit the possible choices |
| 25 | # of keys. |
| 26 | # |
| 27 | # You may want instead: %{%{Stripped-User-Name}:-%{User-Name}} |
| 28 | username = %{User-Name} |
| 29 | |
| 30 | |
| 31 | # Whether or not we want to treat "user" the same |
| 32 | # as "USER", or "User". Some systems have problems |
| 33 | # with case sensitivity, so this should be set to |
| 34 | # 'no' to enable the comparisons of the key attribute |
| 35 | # to be case insensitive. |
| 36 | # |
| 37 | case_sensitive = yes |
| 38 | |
| 39 | # Accounting information may be lost, so the user MAY |
| 40 | # have logged off of the NAS, but we haven't noticed. |
| 41 | # If so, we can verify this information with the NAS, |
| 42 | # |
| 43 | # If we want to believe the 'utmp' file, then this |
| 44 | # configuration entry can be set to 'no'. |
| 45 | # |
| 46 | check_with_nas = yes |
| 47 | |
| 48 | # Set the file permissions, as the contents of this file |
| 49 | # are usually private. |
| 50 | permissions = 0600 |
| 51 | |
| 52 | caller_id = "yes" |
| 53 | } |