Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Sep 1998 09:53:07 +1200
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        Jordan Krushen <jkrushen@home.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Setuid shell script problem
Message-ID:  <Pine.SGI.4.02.9809170951110.4593-100000@tui.pinnacle.co.nz>
In-Reply-To: <000201bde1a0$82062660$0300000a@oblivion.purplemedia.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.4.02.9809170951110.4593-100000>