From owner-freebsd-current Mon Jan 29 14:41:44 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA16731 for current-outgoing; Mon, 29 Jan 1996 14:41:44 -0800 (PST) Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA16719 for ; Mon, 29 Jan 1996 14:41:33 -0800 (PST) Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id XAA23460 ; Mon, 29 Jan 1996 23:41:22 +0100 Received: from (uucp@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) with UUCP id XAA18383 ; Mon, 29 Jan 1996 23:41:21 +0100 Received: (from roberto@localhost) by keltia.freenix.fr (8.7.3/keltia-uucp-2.7) id VAA03554; Mon, 29 Jan 1996 21:00:47 +0100 (MET) From: Ollivier Robert Message-Id: <199601292000.VAA03554@keltia.freenix.fr> Subject: Re: Please test this on your system (and see if you crash) To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Mon, 29 Jan 1996 21:00:47 +0100 (MET) Cc: current@freebsd.org In-Reply-To: <17705.822895066@time.cdrom.com> from "Jordan K. Hubbard" at "Jan 28, 96 09:57:46 pm" X-Operating-System: FreeBSD 2.2-CURRENT ctm#1586 X-Mailer: ELM [version 2.4ME+ PL3 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org Precedence: bulk It seems that Jordan K. Hubbard said: > Yes, this program may hose you. It hoses me, so be careful trying it > out. Seems to work here. Last "make world" yesterday: -rw-r--r-- 1 root bin 888750 Jan 29 00:17 /usr/src/make.world -rwsr-xr-x 1 root wheel 8822 Jan 29 20:56 foo* -rw------- 1 roberto staff 1667 Jan 29 20:56 foo.c 205 [20:56] roberto@keltia:/tmp> ./foo roberto has logged on ttyp4 from :0.0. roberto has logged on ttyp5 from :0.0. roberto has logged on ttyp6 from :0.0. roberto has logged on ttyp7 from :0.0. roberto has logged on ttyv0 from local. 201 [20:56] root@keltia:/tmp# id uid=0(root) gid=10(staff) groups=10(staff), 0(wheel), 2(kmem), 5(operator), 6(man), 8(news), 15(cvs), 20(majordom), 21(list), 100(copains), 117(dialer), 2000(dos), 2001(tex) 211 [20:58] roberto@keltia:/tmp> ./foo id uid=0(root) gid=10(staff) groups=10(staff), 0(wheel), 2(kmem), 5(operator), 6(man), 8(news), 15(cvs), 20(majordom), 21(list), 100(copains), 117(dialer), 2000(dos), 2001(tex) It a dangerous program though... No password asked, nothing except "wheel"... My own program ("calife") ask for it (unless compiled with --relaxed). 212 [20:58] roberto@keltia:/tmp> ... Password: roberto has logged on ttyp4 from :0.0. roberto has logged on ttyp5 from :0.0. roberto has logged on ttyp6 from :0.0. roberto has logged on ttyp7 from :0.0. roberto has logged on ttyv0 from local. 201 [DING!] root@keltia:/tmp# What does a "ktrace foo" give you ? -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net FreeBSD keltia.freenix.fr 2.2-CURRENT #1: Sun Jan 14 20:23:45 MET 1996