From owner-freebsd-bugs Tue Apr 22 13:21:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA00669 for bugs-outgoing; Tue, 22 Apr 1997 13:21:00 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id NAA00663 for ; Tue, 22 Apr 1997 13:20:58 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id WAA17143; Tue, 22 Apr 1997 22:20:56 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id WAA29063; Tue, 22 Apr 1997 22:15:39 +0200 (MET DST) Message-ID: <19970422221539.IH04612@uriah.heep.sax.de> Date: Tue, 22 Apr 1997 22:15:39 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-bugs@freebsd.org Cc: gianowa@eo.ray.com (William A. Gianopoulos) Subject: Re: How do I write a suid shell script? References: <335CF2DA.41C67EA6@eo.ray.com> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <335CF2DA.41C67EA6@eo.ray.com>; from William A. Gianopoulos on Apr 22, 1997 13:21:18 -0400 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As William A. Gianopoulos wrote: > I do not seem to be able to write a shell script that will run > suid root under either FreeBSD 2.1.7 or FreeBSD 2.2. This security hole has been disabled (about 10 years ago, i think). Look at suidperl if you want setuid scripts. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)