summaryrefslogtreecommitdiff
path: root/usr.sbin/radiusd/radiusd_file.8
blob: 7e7cb72623cda1d431928a6c51a5270090cf64e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
.\"	$OpenBSD: radiusd_file.8,v 1.3 2024/08/04 03:56:57 yasuoka Exp $
.\"
.\" Copyright (c) 2024 YASUOKA Masahiko <yasuoka@yasuoka.net>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.\" The following requests are required for all man pages.
.\"
.\" Remove `\&' from the line below.
.Dd $Mdocdate: August 4 2024 $
.Dt RADIUSD_FILE 8
.Os
.Sh NAME
.Nm radiusd_file
.Nd provide authentication by a local file
.Sh SYNOPSIS
.\" For a program:  program [-abc] file ...
.Nm radiusd_file
.Sh DESCRIPTION
The
.Nm
module is executed by
.Xr radiusd 8
as a module to provide authentication from a file written in the syntax
described in
.Xr npppd-users 5 .
It supports the PAP, CHAP, and MSCHAPv2 authentication methods.
.Sh CONFIGURATIONS
The
.Nm module
supports the following configuration key and value:
.Bl -tag -width Ds
.It Cm path Ar path
The path for the
.Ar file
written in the syntax described in
.Xr npppd-users 5 .
.El
.Sh FILES
.Bl -tag -width "/usr/libexec/radiusd/radiusd_file" -compact
.It Pa /usr/libexec/radiusd/radiusd_file
.Dq file
module executable.
.El
.Sh SEE ALSO
.Xr npppd-users 5 ,
.Xr radiusd 8
.Sh HISTORY
The
.Nm
module first appeared in
.Ox 7.6 .