Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 1996 21:00:47 +0100 (MET)
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        jkh@time.cdrom.com (Jordan K. Hubbard)
Cc:        current@freebsd.org
Subject:   Re: Please test this on your system (and see if you crash)
Message-ID:  <199601292000.VAA03554@keltia.freenix.fr>
In-Reply-To: <17705.822895066@time.cdrom.com> from "Jordan K. Hubbard" at "Jan 28, 96 09:57:46 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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



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