From owner-freebsd-questions Wed Sep 16 14:54:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA16019 for freebsd-questions-outgoing; Wed, 16 Sep 1998 14:54:42 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from kakapo.pinnacle.co.nz (pinsoft.internet.co.nz [202.37.141.181]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA15849 for ; Wed, 16 Sep 1998 14:53:55 -0700 (PDT) (envelope-from jonc@pinnacle.co.nz) Received: from tui.pinnacle.co.nz (tui.pinnacle.co.nz [202.37.163.3]) by kakapo.pinnacle.co.nz (8.8.8/8.8.8) with SMTP id JAA02751; Thu, 17 Sep 1998 09:53:07 +1200 (NZST) (envelope-from jonc@pinnacle.co.nz) Date: Thu, 17 Sep 1998 09:53:07 +1200 From: Jonathan Chen To: Jordan Krushen cc: freebsd-questions@FreeBSD.ORG Subject: Re: Setuid shell script problem In-Reply-To: <000201bde1a0$82062660$0300000a@oblivion.purplemedia.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 16 Sep 1998, Jordan Krushen wrote: > I have a setuid shell script which doesn't seem to be running as the owner's > uid.. Setuid shell scripts don't. They're a big security whole, and almost all versions of UNIX disable them by default. If you really want it, you can write a small C program to change the uid and chain the programs together. --------------------------------------------------------------------- Jonathan Chen | Opportunites are seldom labeled --------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message