Old school: FreeRADIUS and NIS

Phil Mayers p.mayers at imperial.ac.uk
Mon Mar 10 17:40:04 CET 2014


On 10/03/14 16:23, Mark Haney wrote:

> So, now that I have that out of the way, it seems rlm_unix isn't able
> to read /etc/shadow.  I'm assuming the getspnam(username) call is
> trying to read /etc/shadow?  If so, how is the best way to fix this?

Set the permissions on /etc/shadow.

Alternatively, to repeat myself, rlm_pam might work, as PAM has an 
setuid-root helper to read /etc/shadow.

> I read somewhere that rlm_unix didn't need to copy the password files
> into a temp file with radwtmp unless there was a specific reason for
> it.  What exactly is that all about?

No idea, sounds like gibberish to me.


More information about the Freeradius-Users mailing list