-.\" $OpenBSD: radiusd.conf.5,v 1.30 2024/07/14 16:09:23 yasuoka Exp $
+.\" $OpenBSD: radiusd.conf.5,v 1.31 2024/07/14 16:22:59 yasuoka Exp $
.\"
.\" Copyright (c) 2014 Esdenera Networks GmbH
.\" Copyright (c) 2014, 2023 Internet Initiative Japan Inc.
module provides conversion from EAP-MSCHAPv2 to MS-CHAPv2.
See
.Xr radiusd_eap2mschap 8 .
+.It Do file Dc module
+The
+.Dq file
+module provides authentication by a local file.
.It Do ipcp Dc module
The
.Dq ipcp
.Xr radiusd 8 ,
.Xr radiusd_bsdauth 8 ,
.Xr radiusd_eap2mschap 8 ,
+.Xr radiusd_file 8 ,
.Xr radiusd_ipcp 8 ,
.Xr radiusd_radius 8 ,
.Xr radiusd_standard 8
--- /dev/null
+.\" $OpenBSD: radiusd_file.8,v 1.1 2024/07/14 16:22:59 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: July 14 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 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 radiusd 8 ,
+.Xr npppd-users 5
+.Sh HISTORY
+The
+.Nm
+daemon first appeared in
+.Ox 7.6 .