On Fri, 07.03.03 11:44, SUBREDU Manuel (diablo@infoiasi.ro) wrote: > > On Fri, Mar 07, 2003 at 10:30:46AM +0100, Rostislav Matl wrote: > > Thank you for your work. This is extremely usefull feature. > > This is great. I want to propose a feature. When a user is setting up a > password for imap4 for example, the imap4 password to be different from the > one in the /etc/shadow. It this possible ? > When you wrote this pam module, you supposed that the users _want_ to use > different passwords. On my server is different ;-) They use the same > password for their accounts no mather how much I tell them this is not > secure. I think this is possible with pam_dotfile 0.2. You need some magic with the [] syntax for this. Something like this: auth [success=ok new_authtok_reqd=ok default=die] pam_dotfile.so auth [success=ok new_authtok_reqd=ok default=1] pam_unix.so auth [default=die] pam_deny.so auth [default=done] pam_permit.so (not tested, maybe wrong) lp -- name { Lennart Poettering } mail { lennart@poettering.de } icq { 11060553 } www { http://www.poettering.de/lennart/ } loc { hamburg, germany } pgp { 0x1A015CC4 } hack { .phi. }
Attachment:
pgp00068.pgp
Description: PGP signature