From owner-freebsd-bugs Fri Jul 14 02:09:36 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA28109 for bugs-outgoing; Fri, 14 Jul 1995 02:09:36 -0700 Received: from plaza.ds.adp.com (lockbox.plaza.ds.adp.com [139.126.34.128]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id CAA28099 for ; Fri, 14 Jul 1995 02:09:31 -0700 Received: from adpgate.plaza.ds.adp.com by plaza.ds.adp.com (4.1/3.1.012693-Automatic Data Processing Dealer Services); id AA23402 for bugs@freebsd.org; Fri, 14 Jul 95 01:57:51 PDT Received: from toad.plaza.ds.adp.com by adpgate.plaza.ds.adp.com (Automatic Data Processing Dealer Services/1.0) id AA26949; Fri, 14 Jul 95 02:08:15 -0700 Received: by toad.plaza.ds.adp.com (Automatic Data Processing Dealer Services/1.0) id AA10033; Fri, 14 Jul 95 02:09:35 -0700 Message-Id: <9507140909.AA10033@toad.plaza.ds.adp.com> Subject: Resolution - OPIE and shadow passwords To: skey-users@thumper.bellcore.com, bugs@freebsd.org Date: Fri, 14 Jul 1995 02:09:35 -0700 (PDT) From: mjk@plaza.ds.adp.com (Mike Kephart) Cc: opie-bugs@itd.nrl.navy.mil X-Mailer: ELM [version 2.4 PL20] Content-Type: text Content-Length: 868 Sender: bugs-owner@freebsd.org Precedence: bulk Hello again, With the generous feedback of several people, I have traced the problem down to (what I consider to be) simple bugs in the OPIE Makefile. After compiling OPIE, I carefully followed the instructions for testing the utilities. The "test" target does not prepare setuid (to root) versions of opiesu and opielogin. Thus, when running opiesu as a non-root user (INSTALL step 10), getpwnam() returns "*" on FreeBSD, giving the error message "Unknown user" (and hence my previous incorrect assumptions that OPIE or FreeBSD was broken). Thus, I created temporary setuid versions of opiesu and opielogin and was able to successfully complete the pre-installation testing. The "make install" does work correctly, producing a correctly running version. Thank you to all provided assistance! \MikeK Mike Kephart ADP Dealer Services R&D, Portland, OR