Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Sep 2000 09:50:23 -0500 (CDT)
From:      "Thomas M. Duffey" <tduffey@wmdesign.net>
To:        cjclark@alum.mit.edu
Cc:        freebsd-questions@freebsd.org
Subject:   Re: problem with passwd
Message-ID:  <4698.169.207.71.242.967992623.squirrel@www.wmdesign.net>
In-Reply-To: <20000902160638.V62475@149.211.6.64.reflexcom.com>
References:  <20000902160638.V62475@149.211.6.64.reflexcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Sat, Sep 02, 2000 at 12:14:00PM -0500, Thomas M. Duffey wrote:
> > Dear FreeBSD Users,
> > 
> > I have three FreeBSD 4.1-RELEASE machines here, and all have the same
> > problem.  If a normal user (i.e. not root, not in wheel group) tries to
> > change their password, the following occurs:
> > 
> > su-2.03$ passwd
> > passwd: Permission denied
> > 
> > However, the following works:
> > 
> > su-2.03$ passwd my_user_name
> > Changing local password for my_user_name.
> > Old password:
> > 
> 
> I would guess that somehow the users are not being identified
> correctly by passwd(1). That is, in the first case, the getlogin(3)
> inside passwd is not returning who you expect.
> 
> How are these users logging in?

Had I known this earlier I would have included it in the original post, but
it seems the problem only occurs when I 'su' to some user, regardless of
what paramaters I pass to su.  Logging in directly as the user from console
or via ssh does not create this problem.

Tom Duffey




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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