control-socket on freeradius 2.1.8

Tim Sylvester tim.sylvester at networkradius.com
Wed Sep 1 21:14:50 CEST 2010


> The socket is created with this permissions:
>
> ls -ltr "/opt/freeradius/var/run/radiusd/radiusd.sock"
> srw-rw---- 1 radius radius 0 2010-09-01 20:18
> /opt/freeradius/var/run/radiusd/radiusd.sock
>
> When I try to connect to the socket with radmin I received a permission
> denied:
>
> /opt/freeradius/sbin> ./radmin -d ../etc_devel/raddb/
> radmin: Failed connecting to
> /opt/freeradius/var/run/radiusd/radiusd.sock: Permission denied
>
> radmin is launched with 'testuser' user.
>
> anyone know where is the problem?

The user 'testuser' does not have permission to access the socket. Add
'testuser' to the group 'radius' or run radmin as root.

Tim





More information about the Freeradius-Users mailing list