From owner-freebsd-bugs Tue Apr 22 16:57:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA17706 for bugs-outgoing; Tue, 22 Apr 1997 16:57:58 -0700 (PDT) Received: from adam.adonai.net ([205.182.92.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA17701 for ; Tue, 22 Apr 1997 16:57:52 -0700 (PDT) Received: from localhost (leec@localhost) by adam.adonai.net (8.8.5/8.7.3) with SMTP id SAA20546; Tue, 22 Apr 1997 18:58:38 -0500 (CDT) Date: Tue, 22 Apr 1997 18:58:38 -0500 (CDT) From: "Lee Crites (AEI)" To: "William A. Gianopoulos" cc: freebsd-bugs@freebsd.org Subject: Re: How do I write a suid shell script? In-Reply-To: <335CF2DA.41C67EA6@eo.ray.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk =>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. => =>I have tried using sh both with and without the -p flag, and =>csh both with and without the -f and -b flags. sudo? Lee