Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2002 12:32:54 -0700
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        Ian Dowse <iedowse@FreeBSD.ORG>
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>
In-Reply-To: <200206291911.g5TJBRnW061866@freefall.freebsd.org>; from iedowse@FreeBSD.ORG on Sat, Jun 29, 2002 at 12:11:27PM -0700
References:  <200206291911.g5TJBRnW061866@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020708123254.B34407>