Skip site navigation (1)Skip section navigation (2)
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?
Message-ID:  <19970422221539.IH04612@uriah.heep.sax.de>
In-Reply-To: <335CF2DA.41C67EA6@eo.ray.com>; from William A. Gianopoulos on Apr 22, 1997 13:21:18 -0400
References:  <335CF2DA.41C67EA6@eo.ray.com>

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



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