From owner-freebsd-hackers Wed Aug 8 2:38:57 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from arb.arb.za.net (arb.arb.za.net [196.7.148.4]) by hub.freebsd.org (Postfix) with ESMTP id 2223537B403 for ; Wed, 8 Aug 2001 02:38:52 -0700 (PDT) (envelope-from mark@grondar.za) Received: (from uucp@localhost) by arb.arb.za.net (8.11.3/8.11.3) with UUCP id f789cIU07161; Wed, 8 Aug 2001 11:38:18 +0200 (SAST) (envelope-from mark@grondar.za) Received: from grondar.za (localhost [127.0.0.1]) by grimreaper.grondar.za (8.11.5/8.11.4) with ESMTP id f77IceZ55541; Tue, 7 Aug 2001 19:38:40 +0100 (BST) (envelope-from mark@grondar.za) Message-Id: <200108071838.f77IceZ55541@grimreaper.grondar.za> To: "Eugene L. Vorokov" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: pam_wheel References: <200108061834.f76IYBO64264@bugz.infotecs.ru> In-Reply-To: <200108061834.f76IYBO64264@bugz.infotecs.ru> ; from "Eugene L. Vorokov" "Mon, 06 Aug 2001 18:34:11 -0000." Date: Tue, 07 Aug 2001 19:38:39 +0100 From: Mark Murray Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > This piece obviously has at least two errors. First, if PAM_OPT_AUTH_AS_SELF > is true, then value of user is undefined. It should probably log > pwd->pw_name instead. Second, check for root must of course be reversed > and become if (!pwd->pw_uid). Fixed locally. Commit coming soon. M -- Mark Murray Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message