From owner-freebsd-questions Sat Sep 2 16: 6:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id C877C37B423 for ; Sat, 2 Sep 2000 16:06:39 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sat, 2 Sep 2000 16:05:37 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.9.3/8.9.3) id QAA43087; Sat, 2 Sep 2000 16:06:38 -0700 (PDT) (envelope-from cjc) Date: Sat, 2 Sep 2000 16:06:38 -0700 From: "Crist J . Clark" To: "Thomas M. Duffey" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: problem with passwd Message-ID: <20000902160638.V62475@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <2091.169.207.128.211.967914840.squirrel@www.wmdesign.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <2091.169.207.128.211.967914840.squirrel@www.wmdesign.net>; from tduffey@wmdesign.net on Sat, Sep 02, 2000 at 12:14:00PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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've read a few messages similar to this in the archives but there were no > answers. Is this normal behavior? 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? -- Crist J. Clark cjclark@alum.mit.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message