Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: janderso@wavefront.wavefront.com (J. Anderson)
Subject: Re: Cannot Set Owner & User-ID bit to Root via script
Date: 1996/09/05	[thread overview]
Message-ID: <50ng75$rvi@news5.wavefront.com> (raw)
In-Reply-To: 321333D2.41C6@sms.lmco.com


John G. Bury (jbury@sms.lmco.com) wrote:

: ... the script will not work on Digital UNIX.  The script itself is
: owned by root:system with the user-id bit set, and does the following:

:         -rwsr-xr-x   1 root     system       script_name


There's your problem.  DEC Unix is _so_ clever, that it won't allow
 us to do a setuid on a shell script.  You have 2 options:

1) write it in C.
2) install sudo.

I highly recommend installing sudo--it does exactly what we need, and
has much better security than the old setuid bit does.

Hope this helps!

Jeremy Anderson
janderson@globalmt.com
patowic@jurai.net
http://www.jurai.net/~patowic




      parent reply	other threads:[~1996-09-05  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-15  4:00 Cannot Set Owner & User-ID bit to Root via script John G. Bury
1996-08-15  4:00 ` Phil Farrell
1996-08-16  4:00   ` Brian S Hiles
1996-08-16  4:00     ` Christopher M. Conway
1996-08-16  4:00 ` Casper H.S. Dik - Network Security Engineer
1996-08-16  4:00 ` Dave Plonka
1996-09-05  4:00 ` J. Anderson [this message]
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