Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 1996 18:54:52 -0800 (PST)
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/1947: Something is really hosed with the passwd command, or something
Message-ID:  <199611030254.SAA26474@time.cdrom.com>
Resent-Message-ID: <199611030300.TAA16165@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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