From owner-freebsd-current Mon Jan 29 11:10:24 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA22664 for current-outgoing; Mon, 29 Jan 1996 11:10:24 -0800 (PST) Received: from news1.gtn.com (news1.gtn.com [192.109.159.3]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id LAA22652 for ; Mon, 29 Jan 1996 11:10:21 -0800 (PST) Received: (from uucp@localhost) by news1.gtn.com (8.7.2/8.7.2) id UAA11527; Mon, 29 Jan 1996 20:00:29 +0100 (MET) Received: from knobel.gun.de (localhost [127.0.0.1]) by knobel.gun.de (8.7.3/8.7.3) with SMTP id SAA06944; Mon, 29 Jan 1996 18:43:11 +0100 (MET) Date: Mon, 29 Jan 1996 18:43:11 +0100 (MET) From: Andreas Klemm To: "Jordan K. Hubbard" cc: current@freebsd.org Subject: Re: Please test this on your system (and see if you crash) In-Reply-To: <17705.822895066@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Sun, 28 Jan 1996, Jordan K. Hubbard wrote: > Yes, this program may hose you. It hoses me, so be careful trying it > out. Not hosed ;-) > Its function is to allow anyone in group wheel to execute commands as > arbitrary users and it should be run setuid to root. In 2.1 it works > fine, in 2.2 I get a very strange lock-up which may just be me, thus > this email for confirmation. Jordan, I'm running -current of 28. Jan. I compiled this program, named it xxx, did a chmod 4755. I created a shellscript /tmp/yyy, chmod 700 owner: root. yyy does a '/bin/ls /' User andreas (me): uid=1000(andreas) gid=1000(andreas) groups=1000(andreas), 0(wheel), 5(operator) /tmp/xxx /tmp/yyy worked perfectly without hosing anything. Andreas /// -- andreas@knobel.gun.de /\/\___ Wiechers & Partner Datentechnik GmbH Andreas Klemm ___/\/\/ - Support Unix - aklemm@wup.de - \/ ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz apsfilter - magic print filter 4lpd >>> knobel is powered by FreeBSD <<<