Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261679 - mail-mta/exim installs broken /etc/pam.d/exim file
Summary: mail-mta/exim installs broken /etc/pam.d/exim file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-08 13:30 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-07-22 19:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-03-08 13:30:10 UTC
# You may need to remove the "md5"
auth required pam_unix.so shadow md5
account required pam_unix.so

Beside the fact that the "md5" entry in auth is not meaningful (it's only used in the password chain) it will probably fail on Gentoo/FreeBSD, and this does not follow the rest of the system logins.

It should probably not install the pam.d shipped by upstream but use pam.eclass and

pamd_mimic system-auth auth account

to generate a boilerplate pam.d file.
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2009-06-24 13:33:17 UTC
Reassign to net-mail herd as peitolm retires
Comment 2 Fabian Groffen gentoo-dev 2009-07-03 08:03:37 UTC
Diego, you as PAM expert, can you please take a look and fix this issue for exim?
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-03 08:52:55 UTC
I actually gave you the solution already:

pamd_mimic system-auth auth account
Comment 4 Fabian Groffen gentoo-dev 2009-07-22 19:56:07 UTC
(In reply to comment #3)
> I actually gave you the solution already:
> 
> pamd_mimic system-auth auth account

From what I understood that creates a file called "auth", so I used

pamd_mimic system-auth exim auth account

instead.  I hope that fixes the problem.