summaryrefslogtreecommitdiff
path: root/etc/examples
diff options
context:
space:
mode:
authorYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2019-04-01 09:40:17 +0000
committerYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2019-04-01 09:40:17 +0000
commit10ee5f623312712573e46eca43b0f8e1ec17e060 (patch)
tree12907eb5a48d020697e890a14fc11cdb486e0b27 /etc/examples
parentf2bdf66d490cc4e15171d44f6f1a931a31fd2df0 (diff)
Update radiusd.conf(5) man page and its example to recommend to
surround words with double quote. Also fix a bug in the man page that module argument was missing for "module set".
Diffstat (limited to 'etc/examples')
-rw-r--r--etc/examples/radiusd.conf16
1 files changed, 8 insertions, 8 deletions
diff --git a/etc/examples/radiusd.conf b/etc/examples/radiusd.conf
index 63b949900a4..47f4064c738 100644
--- a/etc/examples/radiusd.conf
+++ b/etc/examples/radiusd.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: radiusd.conf,v 1.1 2015/08/03 04:19:25 yasuoka Exp $
+# $OpenBSD: radiusd.conf,v 1.2 2019/04/01 09:40:16 yasuoka Exp $
listen on 0.0.0.0
#listen on ::
@@ -11,16 +11,16 @@ client 192.168.0.0/24 {
msgauth-required yes
}
-module load bsdauth "/usr/libexec/radiusd/radiusd_bsdauth"
-module set bsdauth restrict-group operator
+module load "bsdauth" "/usr/libexec/radiusd/radiusd_bsdauth"
+module set "bsdauth" "restrict-group" "operator"
-module load radius "/usr/libexec/radiusd/radiusd_radius"
-module set radius "secret" "testing123"
-module set radius "server" "127.0.0.1"
+module load "radius" "/usr/libexec/radiusd/radiusd_radius"
+module set "radius" "secret" "testing123"
+module set "radius" "server" "127.0.0.1"
authenticate *@local {
- authenticate-by bsdauth
+ authenticate-by "bsdauth"
}
authenticate *@example.com {
- authenticate-by radius
+ authenticate-by "radius"
}