From owner-freebsd-current Fri Jul 19 15:19:32 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA23097 for current-outgoing; Fri, 19 Jul 1996 15:19:32 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA23086 for ; Fri, 19 Jul 1996 15:19:28 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id AAA28394; Sat, 20 Jul 1996 00:17:19 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id AAA18902; Sat, 20 Jul 1996 00:17:19 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id AAA01154; Sat, 20 Jul 1996 00:11:18 +0200 (MET DST) From: J Wunsch Message-Id: <199607192211.AAA01154@uriah.heep.sax.de> Subject: Re: /usr/bin/passwd and finger output To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Sat, 20 Jul 1996 00:11:18 +0200 (MET DST) Cc: richardc@CSUA.Berkeley.EDU (Veggy Vinny) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from Veggy Vinny at "Jul 19, 96 01:53:34 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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. ;-)