From owner-freebsd-current Fri Jul 19 15:23:30 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA23303 for current-outgoing; Fri, 19 Jul 1996 15:23:30 -0700 (PDT) Received: from soda.CSUA.Berkeley.EDU (soda.CSUA.Berkeley.EDU [128.32.43.52]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA23298 for ; Fri, 19 Jul 1996 15:23:29 -0700 (PDT) Received: (from richardc@localhost) by soda.CSUA.Berkeley.EDU (8.6.12/8.6.12) id PAA27391; Fri, 19 Jul 1996 15:23:24 -0700 Date: Fri, 19 Jul 1996 15:23:22 -0700 (PDT) From: Veggy Vinny To: Joerg Wunsch cc: FreeBSD-current users Subject: Re: /usr/bin/passwd and finger output In-Reply-To: <199607192211.AAA01154@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 20 Jul 1996, J Wunsch wrote: > As Veggy Vinny wrote: > > > A few days ago, I reported that the latest -current's > > /usr/bin/passwd won't work for people not in the wheel group. Today > > with the latest -current build, the same thing still happens: > > > > dennis@mercury [1:45pm][~] >> passwd > > passwd: Permission denied > > I cannot confirm this. The only bogosity (but not a new one actually, > i've verified the logs) is that passwd(1) defaults to the user as > obtained by getlogin(), so if you su(1) to another user, passwd > without an argument would still attempt to set the passwd for the > logged in user (and will not allow this unless the calling user is > root). > > Everything else works well. > > Btw., chpass(1) seems to default to the user as obtained by getuid(), > which looks more rational. Actually, you're right about this one.... What I did was su to root from vince and then su -l dennis since he said that it didn't let him change his password but before this used to work... Any ideas why it doesn't any more? Vince