radmin - infinite loop

Alan DeKok aland at deployingradius.com
Mon Jul 4 19:56:58 CEST 2011


Brian Candler wrote:
> The server is running as root (yes I know, but I can't change that easily
> right now).  radmin works fine with:
...
> I presume it's stuck here:

  Yes.  I've pushed a fix to github.

> A couple of other suggestions.
> 
> (1) When checking the uid of the socket peer, if you find it's 0 (root) you
> may as well let them in anyway.

  Good idea.  Done.

> (2) When starting the control server, if the 'uid' or 'gid' values are set,
> it could try chown'ing or chgrp'ing the socket to that value.

  That, too.

  Alan DeKok.



More information about the Freeradius-Devel mailing list