Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 1996 15:10:29 -0700 (PDT)
From:      Veggy Vinny <richardc@CSUA.Berkeley.EDU>
To:        Bill Paul <wpaul@skynet.ctr.columbia.edu>
Cc:        current@FreeBSD.org
Subject:   Re: /usr/bin/passwd and finger output
Message-ID:  <Pine.PTX.3.91.960719145805.11997N-100000@soda.CSUA.Berkeley.EDU>
In-Reply-To: <199607192129.RAA16896@skynet.ctr.columbia.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.PTX.3.91.960719145805.11997N-100000>