From bear@coyotesong.com Tue Jan 11 03:52:27 2000 Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.mit.edu (8.9.3/8.9.3) with SMTP id DAA09379 for ; Tue, 11 Jan 2000 03:52:26 -0500 (EST) Received: from bgiles.dimensional.com by MIT.EDU with SMTP id AA16863; Tue, 11 Jan 00 03:52:00 EST Received: (from bear@localhost) by eris.coyotesong.com (8.9.3/8.9.3/Debian/GNU) id BAA20689; Tue, 11 Jan 2000 01:52:57 -0700 Message-Id: <200001110852.BAA20689@eris.coyotesong.com> Date: Tue, 11 Jan 2000 01:52:57 -0700 From: bgiles@coyotesong.com Reply-To: bgiles@coyotesong.com To: krb5-bugs@MIT.EDU Cc: Subject: PAM-enhanced login.krb5 X-Send-Pr-Version: 3.99 >Number: 811 >Category: krb5-appl >Synopsis: PAM enhancements to appl/bsd/login.c >Confidential: no >Severity: non-critical >Priority: medium >Responsible: krb5-unassigned >State: open >Class: change-request >Submitter-Id: unknown >Arrival-Date: Tue Jan 11 03:53:01 EST 2000 >Last-Modified: >Originator: Bear Giles >Organization: Bear Giles bgiles@coyotesong.com >Release: krb5-1.1.1 >Environment: Debian 2.1r5 System: Linux eris 2.2.13 #7 SMP Sat Oct 30 20:57:16 MDT 1999 i686 unknown Architecture: i686 >Description: The current appl/bsd/login.c program does not support PAM. >How-To-Repeat: >Fix: The attached patch file provides a minimum level of PAM support to appl/bsd/login.c. I have verified that I can specify S/Key authentication in my configuration file (application "login.krb5") and get an S/Key one-time-password prompt when invoking login.krb5 directly. For various reasons the patched program prompts the user for the Kerberos password separately than all PAM passwords. This is probably a good thing - it allows the user to a different local and Kerberos password, if desired. (For the same reason it might make sense to add an option to prompt for a different principal name, or perhaps one that is formed in a canonical way from the GECOS field. E.g. local user jdoe, GECOS field John Doe,,,,, is converted to Kerberos prinicpal John.Doe by the obvious transformation. I have not verfied the behavior of this program when it is called by one of the Kerberized daemons. begin 664 0012 M+2TM(&]L9"]SPHK"6UIB`](#`["BLC:69D M968@2$%615]004T**R`@("!I;G0@<&%M7W-U8V-EPHK"7!A;5]S=')E&ET("@Q*3L**R`@("!]"BLC96YD:68**PH@ M(VEF("%D969I;F5D*%!/4TE87U1%4DU)3U,I("8F(&1E9FEN960H5$E/0TQ3 M150I"B`@("`@:6]C=&QV86P@/2`P.PH@("`@("\J($]N;'D@9&\@=&AI2!T M:&4@4$%-"BL)("H@7-T96T@8V%N(&)E(&-H86YG960**PD@*B!B>2!E M9&ET:6YG('1H92!C;VYF:6=UPHK"0EP86U?%]N965D'!L M:6-I=&QY+@HK"2`@("`@*B\*(`D@("`@:68@*"$@:S5?9V5T7W!AF5O9B`H=7-E%]P87-S=V1?;VMA>2`H<"DI"B`) M("`@(&)R96%K.PH@(V5N9&EF("\J($],1%]005-35T0@*B\**PH@"7!R:6YT M9B@B3&]G:6X@:6YC;W)R96-T7&XB*3L*(`EI9B`H*RMC;G0@/CT@-2D@>PH@ M"2`@("!L;V=?2P@:&]S=&YA;64I.PI` M0"`M,3,V-BPV("LQ-#0Q+#,V($!`"B`@("`@+RH@8V]M;6ET=&5D('1O(&QO M9VEN("TM('1U&ET("@Q*3L**R`@("!]"BL**R`@("`O*@HK("`@("`J(%-H;W5L M9"!W92!R969U7=A>3\@"BL@("`@("H**R`@("`@*B!2 M96%S;VYS(&EN8VQU9&4@&-E961I;F<@PHK"7!A;5]S=')E2`EPHK(VEF($A!5D5?4$%-"BL)("`@('!A;5]E;F0@*'!A;6@L(%!! M35]354-#15-3*3L**R-E;F1I9@H@"2`@("!E>&ET*#`I.PHK"7T*(`EP=V0M M/G!W7V1I7-L;V7-T96T@=7-A9V4L(&5T8RX**R`@("`@*@HK M("`@("`J(%5N9F]R='5N871E;'DL('1H:7,@8G5M<',@=&AE(&YU;6)EPHK"7!A;5]E M;F0@*'!A;6@L(%!!35]354-#15-3*3L**PEP86UH(#T@3E5,3#L**R`@("!] M"BL@("`@96QS92!I9B`H8VAI;&1?<&ED("$](#`I('L**PEI9B`H*')E='9A M;"`]('!A;5]O<&5N7W-EPHK"2`@("!P86U?96YD("AP86UH+"!004U?4U5#0T534RD["BL)("`@ M('!A;5]S=')E&ET("@P*3L**PE]"BL@("`@?0HK M(V5N9&EF"BLC96YD:68**PH@(VEF9&5F"4A!5D5?4T543%5)1`H@("`)+RH* M("`@"2`J($EF('=E)W)E(&]N(&$@&ET*#`I.PH@?0H@"D!`("TR,CDP M+#8@*S(T-3$L,3`@0$`*(`DH=F]I9"D@9&5S=')O>5]T:6-K971S*"D["B`C M96YD:68@+RH@2U)"-%]'151?5$E#2T544R`J+PH@("`@('-L965P*"AU7VEN M="DU*3L**R-I9F1E9B!(059%7U!!30HK("`@(&EF("AP86UH*0HK"7!A;5]E M;F0@*'!A;6@L(%!!35]354-#15-3*3L**R-E;F1I9@H@("`@(&5X:70H979A );"D["B!]"B`* ` end >Audit-Trail: >Unformatted: