From owner-cvs-all@FreeBSD.ORG Tue Apr 5 14:55:34 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B5A016A4CE; Tue, 5 Apr 2005 14:55:34 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E33C643D2D; Tue, 5 Apr 2005 14:55:33 +0000 (GMT) (envelope-from nectar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j35EtXIw046907; Tue, 5 Apr 2005 14:55:33 GMT (envelope-from nectar@repoman.freebsd.org) Received: (from nectar@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j35EtXfw046906; Tue, 5 Apr 2005 14:55:33 GMT (envelope-from nectar) Message-Id: <200504051455.j35EtXfw046906@repoman.freebsd.org> From: Jacques Vidrine Date: Tue, 5 Apr 2005 14:55:33 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/libexec/rexecd rexecd.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2005 14:55:34 -0000 nectar 2005-04-05 14:55:33 UTC FreeBSD src repository Modified files: libexec/rexecd rexecd.c Log: DES pointed out that the PAM layer may change the target user name during authentication. Thus we need to call getpwnam *after* the user has been authenticated. Colin mentioned that we should also move the check for root in that case. Revision Changes Path 1.38 +32 -15 src/libexec/rexecd/rexecd.c