From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 14 13:30:49 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37C9D16A400 for ; Tue, 14 Mar 2006 13:30:49 +0000 (UTC) (envelope-from mrcomputerwiz@hotmail.com) Received: from hotmail.com (bay102-f13.bay102.hotmail.com [64.4.61.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id F04DC43D46 for ; Tue, 14 Mar 2006 13:30:48 +0000 (GMT) (envelope-from mrcomputerwiz@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 14 Mar 2006 05:30:48 -0800 Message-ID: Received: from 64.4.61.200 by by102fd.bay102.hotmail.msn.com with HTTP; Tue, 14 Mar 2006 13:30:48 GMT X-Originating-IP: [67.186.149.164] X-Originating-Email: [mrcomputerwiz@hotmail.com] X-Sender: mrcomputerwiz@hotmail.com In-Reply-To: <20060314120041.0D12816A48F@hub.freebsd.org> From: "Mr CW" To: freebsd-hackers@freebsd.org Date: Tue, 14 Mar 2006 13:30:48 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 14 Mar 2006 13:30:48.0728 (UTC) FILETIME=[818E0980:01C6476B] Subject: RE: freebsd-hackers Digest, Vol 156, Issue 2 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2006 13:30:49 -0000 >...but if you think that you need to modify pam_get_authtok.c to >change how passwd behaves, you're almost certainly on the wrong track. My appologies and thank you for pointing out my error. I have been walking the source tree trying to find out how different programs work and, I'll admit, passwd is one of the first few programs. I had believed that pam_get_authtok.c was tied into passwd through the many different includes in the program tree. Specifically, I want to learn how passwd works from the point where it prompts for the password, where it actually receives the input, how it passes the password off for encryption, and when it finally obtains the encrypted value. The lower portion of ...get_authtok.c appeared to me where this happens, when the response is stored in &resp, retyped into &resp2 to ensure the two are the same, then sent to pam_set_item() for encryption (?). The way I am reading it, &resp points to the unencrypted password string, but I could be wrong. Thank you for your previous tips on recompiling pam. J. Hunt _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/