[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim PAM SMTP Authentication, help!



Phil Brutsche <pbrutsch@tux.creighton.edu> writes:

> But exim *must* run as root to be able to authenticate using the system
> passwords in /etc/shadow.  I know of no way around it, except for making
> /etc/shadow world readable, which is even more dangerous than having exim
> run as root.

Why is this?  It would seem that unix_chkpwd would be able to do this,
and afaik, pam_unix uses it automatically.  At least, it did on RHL.

Am I missing something in the way Debian stuff is set up?  Hmmm... it
looks like it may only let you auth against the id calling it, which
would explain the difficulty.  Though a similar program should be
written to do the same, so other programs can run without root.

-- 
Alan Shutko <ats@acm.org> - In a variety of flavors!
Machines that have broken down will work perfectly when the repairman arrives.



Reply to: