Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 1996 00:11:18 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Cc:        richardc@CSUA.Berkeley.EDU (Veggy Vinny)
Subject:   Re: /usr/bin/passwd and finger output
Message-ID:  <199607192211.AAA01154@uriah.heep.sax.de>
In-Reply-To: <Pine.PTX.3.91.960719135011.11997H-100000@soda.CSUA.Berkeley.EDU> from Veggy Vinny at "Jul 19, 96 01:53:34 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607192211.AAA01154>