FR caching problem

Alan DeKok aland at ox.org
Wed Dec 28 01:21:27 CET 2005


"Lemaster, Rob" <rlemaste at covad.com> wrote:
> Error: rlm_unix:  You MUST specify a shadow password file!

  This error occurs because your system has /etc/shadow, and
getspwent().

> I am using the /etc/passwd and /etc/group for authentication. I am not
> using /etc/shadow. Does FR require an /etc/shadow path even if it is not
> used?

  No.  It requires /etc/shadow only if it's being used.

  And in general, caching in rlm_unix is a bad idea.  See the comments
in radiusd.conf.

> Any thoughts or suggestions?

  Use rlm_passwd for caching.  Use rlm_unix for non-caching systems.

  Alan DeKok.



More information about the Freeradius-Users mailing list