From owner-freebsd-bugs Sat Nov 2 19:00:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA16187 for bugs-outgoing; Sat, 2 Nov 1996 19:00:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA16165; Sat, 2 Nov 1996 19:00:04 -0800 (PST) Resent-Date: Sat, 2 Nov 1996 19:00:04 -0800 (PST) Resent-Message-Id: <199611030300.TAA16165@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, jkh@time.cdrom.com Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA16013 for ; Sat, 2 Nov 1996 18:54:52 -0800 (PST) Received: (from jkh@localhost) by time.cdrom.com (8.7.6/8.6.9) id SAA26474; Sat, 2 Nov 1996 18:54:52 -0800 (PST) Message-Id: <199611030254.SAA26474@time.cdrom.com> Date: Sat, 2 Nov 1996 18:54:52 -0800 (PST) From: "Jordan K. Hubbard" Reply-To: jkh@time.cdrom.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1947: Something is really hosed with the passwd command, or something Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1947 >Category: bin >Synopsis: Something is really hosed with the passwd command, or something >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 2 19:00:02 PST 1996 >Last-Modified: >Originator: Jordan K. Hubbard >Organization: - Jordan Hubbard, FreeBSD Project >Release: FreeBSD 2.2-CURRENT i386 >Environment: FreeBSD red.asis.com 2.2-CURRENT FreeBSD 2.2-CURRENT #0: Tue Oct 29 00:48:44 PST 1996 jkh@red.asis.com:/home/localhost/src/sys/compile/RED i386 >Description: Boot the system, use the password command. It works fine. Now rebuild and install the password command. Try and use it again, WTF?! jkh@red-> passwd jkh passwd: Permission denied jkh@red-> ls -l /usr/bin/passwd -r-sr-xr-x 2 root bin 37629 Nov 2 18:51 /usr/bin/passwd /usr/bin/passwd passwd: Permission denied Uh.... >How-To-Repeat: Do the above. >Fix: Woo, I dunno - this one might even be a bug which has crept into our handling of setuid or schg'd binaries, for all I know. >Audit-Trail: >Unformatted: