Couldn't open /etc/freeradius/users for reading: Permission denied

Mitchell, Michael J Michael.Mitchell at team.telstra.com
Thu Nov 10 21:59:27 CET 2005


I think your problem is that the etc/raddb directory isn't
readable/executable by your freerad user? If you run the server as root,
it first reads the configuration files (radiusd.conf, clients.conf,
proxy.conf, etc) then "setuid"'s to the configured "user" before
instantiating the modules, etc. Hence, the server has no problem reading
the configuration files first time round.


 

> -----Original Message-----
> From: freeradius-users-bounces at lists.freeradius.org 
> [mailto:freeradius-users-bounces at lists.freeradius.org] 
> Sent: Friday, 11 November 2005 7:12 AM
> To: freeradius-users at lists.freeradius.org
> Subject: Couldn't open /etc/freeradius/users for reading: 
> Permission denied
> 


> 
> # ls -lha /etc/freeradius
> total 244K
> drwxr-s---   3 root    freerad 4.0K 2005-11-10 14:47 .
> drwxr-xr-x  71 root    root    4.0K 2005-11-10 16:29 ..
> -rw-r-----   1 freerad freerad  422 2005-10-16 14:02 acct_users
> -rw-r-----   1 freerad freerad 4.0K 2005-10-16 14:02 attrs
> drwxr-s---   3 freerad freerad 4.0K 2005-11-10 12:41 certs
> -rw-r-----   1 freerad freerad  189 2005-10-16 14:02 clients




More information about the Freeradius-Users mailing list