From owner-freebsd-security Wed Mar 5 18: 3:43 2003 Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B48337B401 for ; Wed, 5 Mar 2003 18:03:42 -0800 (PST) Received: from mail.lambertfam.org (www.lambertfam.org [216.223.196.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E22243FA3 for ; Wed, 5 Mar 2003 18:03:41 -0800 (PST) (envelope-from lambert@lambertfam.org) Received: from laptop.lambertfam.org (laptop.int.lambertfam.org [10.1.0.2]) by mail.lambertfam.org (Postfix) with ESMTP id 6E6593522D for ; Wed, 5 Mar 2003 21:03:39 -0500 (EST) Received: by laptop.lambertfam.org (Postfix, from userid 1000) id 81847858A; Wed, 5 Mar 2003 17:57:27 -0500 (EST) Date: Wed, 5 Mar 2003 17:57:27 -0500 From: Scott Lambert To: freebsd-security@FreeBSD.ORG Subject: Re: Permission Denied on passwd Message-ID: <20030305225727.GA669@laptop.lambertfam.org> Mail-Followup-To: freebsd-security@FreeBSD.ORG References: <200303031528.h23FScje002664@dc.cis.okstate.edu> <20030303154931.GJ73302@asu.ntu-kpi.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030303154931.GJ73302@asu.ntu-kpi.kiev.ua> User-Agent: Mutt/1.4i Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org passwd and chpass refuse if you su -m username then run passwd as that user. I haven't read the code to find out why and it is not in the man page. Probably something in the environment doesn't match the euid. -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message