From: klaus@wanda.physik.fu-berlin.de (Wolfram Klaus)
Subject: Re: dUnix and SUID
Date: 1996/05/22 [thread overview]
Message-ID: <klaus.832761090@wanda.physik.fu-berlin.de> (raw)
In-Reply-To: 4nt2ke$liq@tom.amherst.edu
pdchapin@unix.amherst.edu (PAUL D. CHAPIN) writes:
>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.
Every decent UNIX ignores the SUID bit on shell scripts. If you really
need SUID-scripts write them in perl (The perl interpreter does not
ignore the SUID bit as the shells do).
>Paul Chapin
>Unix Systems Manager
>Amherst College
--
Wolfram Klaus (klaus@manuel.physik.fu-berlin.de) FU Berlin, FB Physik
*************************************************************************
************ Linux ... the choice of a GNU generation *******************
*************************************************************************
next prev parent reply other threads:[~1996-05-22 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 [this message]
1996-05-28 4:00 ` Peter Mayne
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