From: Peter Mayne <peter.mayne@cao.mts.dec.com>
Subject: Re: dUnix and SUID
Date: 1996/05/28 [thread overview]
Message-ID: <31AA6394.61A@cao.mts.dec.com> (raw)
In-Reply-To: 4nt2ke$liq@tom.amherst.edu
PAUL D. CHAPIN wrote:
>
> Is there some magic necessary to get dUnix to run a script set as
> SUID? It runs, but ignores the fact that it should run as root. The
> script is simple enough, but I need to have it write to a common log
> that I don't want my users to write directly.
>
> Setting the SUID bit on programs works fine, but this is the first
> time I've tried it with a ksh script and it's not happy.
Digital UNIX will ignore the SUID bit on scripts, for security reasons. Write
the part of your script that needs to write to the common log file as a SUID
program.
--
PJDM
Digital Equipment Corporation (Australia), Canberra, ACT
--------------------------------------------------------------------------------
These are my opinions, and have nothing to do with Digital.
I design Internet Service Providers. It's a job.
next prev parent reply other threads:[~1996-05-28 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-21 4:00 dUnix and SUID PAUL D. CHAPIN
1996-05-22 4:00 ` Wolfram Klaus
1996-05-28 4:00 ` Peter Mayne [this message]
1996-06-12 4:00 ` Stephen Stuart
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