Chrooting freeradius 2.1.6

Adam Osuchowski adwol at zonk.pl
Sat Aug 1 17:54:16 CEST 2009


Hi,

what exactly should be placed in directory which freeradius 2.1 chroots
to? I tried to configure chrooted environment for freeradius and I had
to place all rlm_*.so (along with dependencies) and dictionary.* files
inside chroot directory because chroot() is called earlier than these
files are read. Even if I put modules names in instantiate section, it
doesn't help. Also, putting these files under current directory is not
a solution due to modules dependencies. Am I doing something wrong
or it is impossible to jail freeradius into empty (or containing only
/dev/log and /dev/urandom devices) directory?
IMHO, it would be more logical to chroot after all initialization work
was done and all files have been read.

Regards.



More information about the Freeradius-Users mailing list