summaryrefslogtreecommitdiff
path: root/net/freeradius/MESSAGE.pam
blob: ed829d62520d387995cfaf15918b71f743d4f71e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
===========================================================================
$NetBSD: MESSAGE.pam,v 1.2 2006/08/11 16:23:39 adrianp Exp $

Certain PAM modules require that radiusd run as root in order to
perform privileged operations.  However, other PAM modules (e.g. pam-dbm),
will work with with radiusd running as non-root if the non-root user is
given the permissions necessary.

If you will be using a PAM module that requires radiusd to run as root
you can set the following in /etc/mk.conf:

	RADIUS_USER=root
	RADIUS_GROUP=wheel

And then re-install freeradius.  Alternatively, you can just change the
following settings in your ${PKG_SYSCONFDIR}/radiusd.conf

	user = root
	group = wheel

===========================================================================