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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 rootfreerad 4.0K 2005-11-10 14:47 . drwxr-xr-x 71 rootroot4.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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Couldn't open /etc/freeradius/users for reading: Permission denied
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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html