From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,dfef95ea2d912748,start X-Google-Attributes: gidfee84,public From: djp@zeus.unx.dec.com (Dave Parker) Subject: Re: [Q] SET-USER-ID and SHELL SCRIPTS Date: 1996/03/11 Message-ID: <4i1ia3$nra@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 142351006 distribution: world references: <826628780snz@spclmway.demon.co.uk> organization: Digital Equipment Corporation reply-to: djp@zeus.unx.dec.com (Dave Parker) newsgroups: comp.unix.osf.osf1 In article <826628780snz@spclmway.demon.co.uk>, Gareth Owen 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.....