Problems running radiusd as non-root user.

2003-06-13 Thread David Ritchey
My problem is I cannot authenticate using the PAM or System methods
without running freeradius as root. When I comment out user and group in
radiusd.conf to force it to run as root, it works great. I can
understand System, since it appears to check /etc/passwd/shadow and
probably needs the perms, but I thought PAM helped to get around that
limitation.

I've tried running as radiusd and nobody, neither will work. Is this
just a limitation of PAM, or freeradius? I'd really rather not run as
root!

And insight is appreciated, thanks.

-- 
David Ritchey [EMAIL PROTECTED]


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Problems running radiusd as non-root user.

2003-06-13 Thread Daryl Tester
David Ritchey wrote:

 I can understand System, since it appears to check /etc/passwd/shadow
 and probably needs the perms, but I thought PAM helped to get around
 that limitation.

How can it?  PAM is a library that is linked in to your process,
and therefore runs with the same privileges as the process does.


-- 
Regards,
  Daryl Tester,  Software Wrangler and Bit Herder, IOCANE Pty. Ltd.

SCO Rep:  Linux must die!  We shall prevail!
Offsider: Bill, they can see your shirt sleeve.
  -- http://ars.userfriendly.org/cartoons/?id=20030609

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html