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

Dominik Benninger d.b.mailinglists at gmx.ch
Thu Nov 10 21:12:04 CET 2005


hi everybody

im trying to set up freeradius but i cant advance anymore because 
of this silly error. all information you need to know are down 
below.

i might not see the wood for the trees, so please be easy on 
me! :-)

# freeradius -X
Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /etc/freeradius/proxy.conf
Config:   including file: /etc/freeradius/clients.conf
Config:   including file: /etc/freeradius/snmp.conf
Config:   including file: /etc/freeradius/eap.conf
Config:   including file: /etc/freeradius/sql.conf
 main: prefix = "/usr"
 main: localstatedir = "/var"
 main: logdir = "/var/log/freeradius"
 main: libdir = "/usr/lib/freeradius"
 main: radacctdir = "/var/log/freeradius/radacct"
 main: hostname_lookups = no
 main: max_request_time = 30
 main: cleanup_delay = 5
 main: max_requests = 1024
 main: delete_blocked_requests = 0
 main: port = 0
 main: allow_core_dumps = no
 main: log_stripped_names = no
 main: log_file = "/var/log/freeradius/radius.log"
 main: log_auth = yes
 main: log_auth_badpass = yes
 main: log_auth_goodpass = yes
 main: pidfile = "/var/run/freeradius/freeradius.pid"
 main: user = "freerad"
 main: group = "shadow"
 main: usercollide = no
 main: lower_user = "no"
 main: lower_pass = "no"
 main: nospace_user = "no"
 main: nospace_pass = "no"
 main: checkrad = "/usr/sbin/checkrad"
 main: proxy_requests = no
 proxy: retry_delay = 5
 proxy: retry_count = 3
 proxy: synchronous = no
 proxy: default_fallback = yes
 proxy: dead_time = 120
 proxy: post_proxy_authorize = yes
 proxy: wake_all_if_all_dead = no
 security: max_attributes = 200
 security: reject_delay = 1
 security: status_server = no
 main: debug_level = 0
read_config_files:  reading dictionary
read_config_files:  reading naslist
Using deprecated naslist file.  Support for this will go away 
soon.
read_config_files:  reading clients
read_config_files:  reading realms
radiusd:  entering modules setup
Module: Library search path is /usr/lib/freeradius
Module: Loaded exec 
 exec: wait = yes
 exec: program = "(null)"
 exec: input_pairs = "request"
 exec: output_pairs = "(null)"
 exec: packet_type = "(null)"
rlm_exec: Wait=yes but no output defined. Did you mean 
output=none?
Module: Instantiated exec (exec) 
Module: Loaded expr 
Module: Instantiated expr (expr) 
Module: Loaded System 
 unix: cache = no
 unix: passwd = "(null)"
 unix: shadow = "/etc/shadow"
 unix: group = "(null)"
 unix: radwtmp = "/var/log/freeradius/radwtmp"
 unix: usegroup = no
 unix: cache_reload = 600
Module: Instantiated unix (unix) 
Module: Loaded files 
 files: usersfile = "/etc/freeradius/users"
 files: acctusersfile = "/etc/freeradius/acct_users"
 files: preproxy_usersfile = "/etc/freeradius/preproxy_users"
 files: compat = "no"
Couldn't open /etc/freeradius/users for reading: Permission 
denied
Errors reading /etc/freeradius/users
radiusd.conf[1035]: files: Module instantiation failed. 

# 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
-rw-r-----   1 freerad freerad 2.9K 2005-10-16 14:02 clients.conf
-rw-r-----   1 freerad freerad  929 2005-10-16 14:02 dictionary
-rw-r-----   1 freerad freerad 8.9K 2005-10-16 14:02 eap.conf
-rw-r-----   1 freerad freerad 8.1K 2005-10-16 14:02 
experimental.conf
-rw-r-----   1 freerad freerad 2.4K 2005-10-16 14:02 hints
-rw-r-----   1 freerad freerad 1.6K 2005-10-16 14:02 huntgroups
-rw-r-----   1 freerad freerad 2.3K 2005-10-16 14:02 ldap.attrmap
-rw-r-----   1 freerad freerad 9.2K 2005-10-16 14:02 mssql.conf
-rw-r-----   1 freerad freerad 1020 2005-10-16 14:02 naslist
-rw-r-----   1 freerad freerad  856 2005-10-16 14:02 naspasswd
-rw-r-----   1 freerad freerad  12K 2005-10-16 14:02 
oraclesql.conf
-rw-r-----   1 freerad freerad  15K 2005-10-16 14:02 
postgresql.conf
-rw-r-----   1 freerad freerad 1.1K 2005-10-16 14:02 
preproxy_users
-rw-r-----   1 freerad freerad 8.7K 2005-10-16 14:02 proxy.conf
-rw-r-----   1 freerad freerad  57K 2005-11-10 20:17 radiusd.conf
-rw-r-----   1 freerad freerad  187 2005-10-16 14:02 realms
-rw-r-----   1 freerad freerad 1.4K 2005-10-16 14:02 snmp.conf
-rw-r-----   1 freerad freerad  14K 2005-10-16 14:02 sql.conf
-rw-r-----   1 freerad freerad 6.8K 2005-11-10 20:03 users
-rw-r-----   1 freerad freerad 7.1K 2005-10-16 14:02 x99.conf
-rw-r-----   1 freerad freerad 4.1K 2005-10-16 14:02 
x99passwd.sample





More information about the Freeradius-Users mailing list