From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076343421881.tru64-unix-managers.marc@archive.invalid> From: "Jon Mitchiner" Date: Mon, 30 Dec 1996 17:38:47 +0000 To: tru64-unix-managers Subject: SUMMARY: Password Verification Program X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076343421881 A few people sent me replies and this was the briefest and to the point, which came from Randy Hayman, haymanr@icefog.sois.alaska.edu - man getprpwent(3) - use bigcrypt() which has the same arguments as crypt(3). - Use the first two characters of fd_encrypt as the seed for bigcrypt. compare returned string from bigcrypt to fd_encrypt. - fd_encrypt is returned from your call to getprpwent. - if they match, all is good and validated. The above assumes you haven't altered (from default) the encryption methods on your system. Randy M. Hayman haymanr@icefog.alaska.edu Received: from icefog.sois.alaska.edu by PO.VRINET.COM (SMTPLINK V2.11 PreRelease 4) ; Mon, 30 Dec 96 17:04:16 EST Return-Path: Received: from localhost (localhost [127.0.0.1]) by icefog.sois.alaska.edu (8.8.3/8.8.3) with SMTP id NAA19541; Mon, 30 Dec 1996 13:04:07 -0900 (AKST) From: "Randy M. Hayman" Message-Id: <199612302204.NAA19541@icefog.sois.alaska.edu> X-Authentication-Warning: icefog.sois.alaska.edu: localhost [127.0.0.1] didn't use HELO protocol To: mitchinj@vrinet.com cc: haymanr@icefog.sois.alaska.edu Subject: Re: Password Verification Program In-reply-to: Your message of "Mon, 30 Dec 96 14:35:25 EST." <9611308519.AA851986203@PO2.VRINET.COM> Date: Mon, 30 Dec 96 13:04:07 -0900 X-Mts: smtp