10 Mar
2014
10 Mar
'14
12:40 p.m.
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.