Radrelay and detail file permissions
Zoltan Ori
z.ori at morehead-st.edu
Fri Mar 31 21:38:33 CEST 2006
On Friday 31 March 2006 14:17, Ben Plimpton wrote:
> But when I start radrelay the permissions change:
>
> [root at ns1-new radacct]# radrelay -a /var/log/radius/radacct \
> -d /etc/raddb -n ns2-new detail-combined
>
> [root at ns1-new radacct]# ls -la total 44
> drwx------ 9 radiusd radiusd 4096 Mar 31 12:08 .
> drwx------ 3 radiusd radiusd 4096 Mar 31 12:02 ..
> drwxr-xr-x 2 radiusd radiusd 4096 Mar 31 11:42 127.0.0.1
> drwxr-xr-x 2 radiusd radiusd 4096 Mar 17 16:17 216.17.128.39
> drwxr-xr-x 2 radiusd radiusd 4096 Feb 7 00:30 216.237.65.2
> drwxr-xr-x 2 radiusd radiusd 4096 Mar 31 00:00 216.237.67.198
> drwxr-xr-x 2 radiusd radiusd 4096 Mar 31 09:34 216.237.67.217
> drwxr-xr-x 2 radiusd radiusd 4096 Feb 14 09:49 216.237.72.66
> drwxr-xr-x 2 radiusd radiusd 4096 Mar 31 10:39 216.237.77.3
> -rw------- 1 root root 0 Mar 31 12:08 detail-combined
> [root at ns1-new radacct]#
>
> Am I missing something with the way I am starting up radrelay? Or are
> there permissions that I need to check somewhere else?
Don't start radrelay as root. Start it as the same user you use to start
RADIUS. In this case, radiusd.
Zoltan Ori
More information about the Freeradius-Users
mailing list