From owner-freebsd-bugs Mon Jul 8 12:32:58 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2078F37B400; Mon, 8 Jul 2002 12:32:56 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9230543E09; Mon, 8 Jul 2002 12:32:55 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020708193255.IMCB24728.rwcrmhc51.attbi.com@blossom.cjclark.org>; Mon, 8 Jul 2002 19:32:55 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.3/8.12.3) with ESMTP id g68JWtJK035024; Mon, 8 Jul 2002 12:32:55 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.3/8.12.3/Submit) id g68JWs9Q035023; Mon, 8 Jul 2002 12:32:54 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Mon, 8 Jul 2002 12:32:54 -0700 From: "Crist J. Clark" To: Ian Dowse Cc: neuhauser@mail.cz, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/39995: users not in @wheel cannot change their passwords Message-ID: <20020708123254.B34407@blossom.cjclark.org> Reply-To: "Crist J. Clark" References: <200206291911.g5TJBRnW061866@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200206291911.g5TJBRnW061866@freefall.freebsd.org>; from iedowse@FreeBSD.ORG on Sat, Jun 29, 2002 at 12:11:27PM -0700 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Jun 29, 2002 at 12:11:27PM -0700, Ian Dowse wrote: > Synopsis: users not in @wheel cannot change their passwords > > State-Changed-From-To: open->feedback > State-Changed-By: iedowse > State-Changed-When: Sat Jun 29 12:03:11 PDT 2002 > State-Changed-Why: > > I think the problem is not the wheel group, but that "passwd" does > not work from an "su" session, because passwd uses the login name, > which is not changed by su. It should work fine to run "passwd > prema" as root, or to log into the user account directly (without > su) and run passwd there. passwd(1) runs fine. An even easier way to deal with this is just to supply it with the correct username, $ su joeuser $ passwd joeuser Changing local password for joeuser. Old password: This works. As noted, if you just type, $ passwd It will try to change the password of your original login and fail. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message