All, What can cause dictionry permissions even if /etc/freeradius/dictionnary has rwxrwxrwx as permissions setting I am getting the following: radclient: dict_init: Couldn't open dictionary "/etc/freeradius/dictionary": Permission denied The call of radclient is done from a cgi script . Apache running under user www-data, group www-data, and Freeradius running under user freerad/freerad Thanks. Thanks in advance. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Aime <aklougbo@yahoo.com> wrote:
What can cause dictionry permissions even if /etc/freeradius/dictionnary has rwxrwxrwx as permissions setting
Please don't set the permissions to a+w, it's *not* necessary, and is a security problem.
radclient: dict_init: Couldn't open dictionary "/etc/freeradius/dictionary": Permission denied
What are the permissions on /etc and /etc/freeradius? Alan DeKok.
Hello, I did set the permissions to 777 just to see where could be the problem. Below are permissions on /etc and /etc/freeradius: emilie:~# ls -dl /etc/ drwxr-xr-x 61 root root 4096 2005-07-14 18:32 /etc/ emilie:~# ls -dl /etc/freeradius drwxr-s--- 3 root freerad 4096 2005-07-15 23:12 /etc/freeradius radclient was called from a cgi script on apache running under username /group = www-data/www-data , and freeradius under freerad/freerad. Thanks in advance. --- Alan DeKok <aland@ox.org> wrote:
Aime <aklougbo@yahoo.com> wrote:
What can cause dictionry permissions even if /etc/freeradius/dictionnary has rwxrwxrwx as permissions setting
Please don't set the permissions to a+w, it's *not* necessary, and is a security problem.
radclient: dict_init: Couldn't open dictionary "/etc/freeradius/dictionary": Permission denied
What are the permissions on /etc and /etc/freeradius?
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Aime <aklougbo@yahoo.com> wrote:
emilie:~# ls -dl /etc/freeradius drwxr-s--- 3 root freerad 4096 2005-07-15 23:12 /etc/freeradius
radclient was called from a cgi script on apache running under username /group = www-data/www-data ,
Now think.... does that user/group have permission to read the directory /etc/freeradius? Alan DeKok.
participants (2)
-
Aime -
Alan DeKok