Date: Fri, 19 Jul 1996 15:23:22 -0700 (PDT) From: Veggy Vinny <richardc@CSUA.Berkeley.EDU> To: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de> Cc: FreeBSD-current users <freebsd-current@FreeBSD.org> Subject: Re: /usr/bin/passwd and finger output Message-ID: <Pine.PTX.3.91.960719152201.11997P-100000@soda.CSUA.Berkeley.EDU> In-Reply-To: <199607192211.AAA01154@uriah.heep.sax.de>
index | next in thread | previous in thread | raw e-mail
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? Vincehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.PTX.3.91.960719152201.11997P-100000>
