radiusd-to-freeradius.diff   [plain text]


## 01-radiusd-to-freeradius.dpatch by Mark Hymers <mark@hymers.org.uk>
## DP: change debian binary name from radiusd -> freeradius

--- old/Make.inc.in	(revision 1496)
+++ new/Make.inc.in	(working copy)
@@ -48,7 +48,7 @@
 
 LOGDIR		= ${logdir}
 RADDBDIR	= ${raddbdir}
-RUNDIR		= ${localstatedir}/run/radiusd
+RUNDIR		= ${localstatedir}/run/freeradius
 SBINDIR		= ${sbindir}
 RADIR		= ${radacctdir}
 
--- old/raddb/radiusd.conf.in   2009-02-19 15:25:59.723240012 +0000
+++ new/raddb/radiusd.conf.in   2009-02-19 15:32:18.215568132 +0000
@@ -62,7 +62,7 @@

 #
 #  name of the running server.  See also the "-n" command-line option.
-name = radiusd
+name = freeradius

 #  Location of config and logfiles.
 confdir = ${raddbdir}
@@ -164,8 +164,8 @@
 #  It will join all groups where "user" is a member.  This can allow
 #  for some finer-grained access controls.
 #
-#user = radius
-#group = radius
+user = freerad
+group = freerad

 #  max_request_time: The maximum time (in seconds) to handle a request.
 #