RE: Couldn't open /etc/freeradius/users for reading: Permission denied
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@lists.freeradius.org [mailto:freeradius-users-bounces@lists.freeradius.org] Sent: Friday, 11 November 2005 7:12 AM To: freeradius-users@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
On Thursday 10 November 2005 21.59, Mitchell, Michael J wrote:
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.
thanks a lot it worked. and it was as easy as that. d
participants (2)
-
Dominik Benninger -
Mitchell, Michael J