passwd(1) and PAM

看板FB_hackers作者時間18年前 (2007/07/31 01:57), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
This seems to be almost a FAQ judging by the number of open/suspended PRs over several years, and the enquiry on this list back in March 2007 - but I haven't been able to find an answer yet. Looking at /usr/src/usr.bin/passwd/passwd.c, it seems that passwd(1) was rewritten four years ago to use the PAM infrastructure (with options -l, -o and -y not actually doing anything any more). It seems to be prevented from using, eg, pam_ldap, by the switch statement which uses constants defined in pam.h but commented there to be ``bogus''. 1. Is there any reason not to patch passwd.c locally, replacing the switch statement with printf and a single message? 2. When is this likely to make it into the official sources? I'm in a mixed environment and looking at using LDAP for account information with pam_pgina for Windows users. Oh, and if the answer is ``send a patch'', just let me know where! Jonathan _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #16hYQY00 (FB_hackers)