From jkh@time.cdrom.com  Sat Nov  2 18:54:53 1996
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 <FreeBSD-gnats-submit@freebsd.org>; 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" <jkh@time.cdrom.com>
Reply-To: jkh@time.cdrom.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Something is really hosed with the passwd command, or something
X-Send-Pr-Version: 3.2

>Number:         1947
>Category:       bin
>Synopsis:       Something is really hosed with the passwd command, or something
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov  2 19:00:02 PST 1996
>Closed-Date:    Mon Dec 23 11:16:25 PST 1996
>Last-Modified:  Tue Nov 27 19:23:10 PST 2001
>Originator:     Jordan K. Hubbard
>Release:        FreeBSD 2.2-CURRENT i386
>Organization:
- Jordan Hubbard, FreeBSD Project
>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.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: joerg 
State-Changed-When: Mon Dec 23 20:07:04 MET 1996 
State-Changed-Why:  
Please confirm: does this PR still apply? 

State-Changed-From-To: feedback->closed 
State-Changed-By: jkh 
State-Changed-When: Mon Dec 23 11:16:25 PST 1996 
State-Changed-Why:  
Since it's so hard to reproduce, I'll just close this for now 
and open an new PR if I ever reproduce it again. 
>Unformatted:
