From owner-freebsd-current Fri Jul 19 15:10:16 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA22615 for current-outgoing; Fri, 19 Jul 1996 15:10:16 -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 PAA22610 for ; Fri, 19 Jul 1996 15:10:15 -0700 (PDT) Received: (from richardc@localhost) by soda.CSUA.Berkeley.EDU (8.6.12/8.6.12) id PAA26236; Fri, 19 Jul 1996 15:10:31 -0700 Date: Fri, 19 Jul 1996 15:10:29 -0700 (PDT) From: Veggy Vinny To: Bill Paul cc: current@FreeBSD.org Subject: Re: /usr/bin/passwd and finger output In-Reply-To: <199607192129.RAA16896@skynet.ctr.columbia.edu> 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 Fri, 19 Jul 1996, Bill Paul wrote: > Of all the gin joints in all the towns in all the world, Veggy Vinny had > to walk into mine and say: > > > 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 > > dennis@mercury [1:45pm][~] >> dir /usr/bin/passwd > > -r-sr-xr-x 2 root bin 32768 Jul 19 12:45 /usr/bin/passwd > > dennis@mercury [1:45pm][~] >> > > How about trying 'which passwd' and seeing what it returns? How > about trying to run /usr/bin/passwd explicitly (with the full path)? > You sure you don't have a /usr/local/bin/passwd or a cutsey alias > hidden away somewhere? yep, because this is what I got: dennis@mercury [2:57pm][~] >> which passwd /usr/bin/passwd dennis@mercury [2:57pm][~] >> dir /usr/local/bin/passwd colorls: /usr/local/bin/passwd: No such file or directory dennis@mercury [2:58pm][~] >> but when I do it from a account that's in group wheel: vince@mercury [2:55pm][~] >> passwd Changing local password for vince. Old password: (I hit CTRL-D here) passwd: Permission denied passwd: /etc/master.passwd: unchanged vince@mercury [3:08pm][~] >> which passwd /usr/bin/passwd vince@mercury [3:08pm][~] >> It works fine... > > This is happening on 4 different machines so it's not a configuration > > issue. Is there a work around this? > > Somebody else out there please test this. I don't have a -current box > handy with which to test it myself (I'll try it on my 2.1 box tonight). I > strongly suspect that it is some sort of configuration error, albeit a > bizarre one. I suspect this mainly because nobody else has reported > having the same trouble. Hmmm, this happened after the code change to chpass and passwd for the sources a week or so ago. > > Also, the finger output seems to be really different than the > > previous one atleast for the date and time. > > > > Login: dennis Name: Dennis Pang > > Directory: /home/dennis Shell: /usr/local/bin/tcsh > > Last login 07/16/96 10:01:1 (PDT) on ttyp3 from 206.28.134.6 > > New mail received 07/17/96 21:54:4 (PDT) > > Unread since 07/16/96 10:01:2 (PDT) > > No Plan. > > > > Vince > > Somebody hacked a bit on the stdtime stuff in libc recently and I > think there were some problems (times reported by ls were a little > busted too, apparently). You may have to sup again and rebuild libc. Oh okay, will do that... Vince