Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: djp@zeus.unx.dec.com (Dave Parker)
Subject: Re: [Q] SET-USER-ID and SHELL SCRIPTS
Date: 1996/03/11	[thread overview]
Message-ID: <4i1ia3$nra@nntpd.lkg.dec.com> (raw)
In-Reply-To: 826628780snz@spclmway.demon.co.uk


In article <826628780snz@spclmway.demon.co.uk>, Gareth Owen <geo@spclmway.demon.co.uk> writes:
|>I am trying to use a shell script with set user id to allow a user root 
|>priveledges to carry out a fixed task.
|>

This won't work with shell scripts for security reasons.  I suspect that if 
your commands to carry out the "fixed task" were setuid, you'd be all set.

Presumably, if this were allowed, any user could create a shell script and have
it setuid to root and then have access to do anything.
-- 

----------------------------------------------------------------------
Dave Parker					djp@unx.dec.com
UNIX Engineering				Digital Equipment Corp
	The comments, opinions, etc. within are mine.....



  reply	other threads:[~1996-03-11  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-12  5:00 [Q] SET-USER-ID and SHELL SCRIPTS Gareth Owen
1996-03-11  5:00 ` Dave Parker [this message]
1996-03-12  5:00 ` John P. Speno
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox