From: Charles M Richmond <cmr@iisc.com>
Cc: patrick.healy@ul.ie, greenemj@hlthsrc.com
Subject: Re: setuid abilities turned off by default
Date: 1996/11/19 [thread overview]
Message-ID: <32919AE0.2781@iisc.com> (raw)
In-Reply-To: 328A4069.30BA@hlthsrc.com
Mark Greene wrote:
>
> Paddy Healy wrote:
> >
> > I'm trying to write a plain old perl script so that others can write to a
> > file that would normally be protected from writing to by them. However, I
> > cannot get the general principle to work on our Alpha running Digital Unix.
> > Our sys admin tells me that he hasn't touched this facility so he assumes
> > it's turned off by default. Further, he doesn't know how to change this
> > behaviour.
> >
> > Can anyone tell me whather this would be the case or not and if so how I go
> > about changing it so that setuid scripts are possible?
> >
>
> Did you ever get an answer to this? We have run into a problem that I
> think may be similar. We tried to set the setuid bit on the lprm command
> so that users may cancel printjobs of reports they may be printing (due
> to printer jams, wrong forms, etc.) that were orignially created by the
> operations dept. under a different signon. However, it does not work. DEC
> is supposedly looking into it, but I have yet to hear anything. We are
> running DU 3.2g on an Alpha 8400.
>
These are two separate issues. In reverse order- 'lprm' already has the
setuid bit turned on. (see below) 'lprm' is designed to not allow the
behavior you are seeking as it is counter to the design of a secure
system.
On the otherhand, Patrick's problem is that "Kernighan & Pike" is very
old.
The standard now is for scripts to not implement the suid bit , even
when
it is set. His best bet is to either redo his 'script' in C or to
obtain
and use the 'sudo' public domain program.
--
*************************************************************************
* Charles Richmond Integrated International Systems Corporation
*
* cmr@iisc.com cmr@koibito.iisc.com cmr@shore.net
*
* UNIX Internals, I18N, L10N, X, Realtime Imaging, and Custom S/W
*
* One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431
*
* (617) 723 7695 (617) 367 3151 FAX (617) 723 6861
*
*************************************************************************
prev parent reply other threads:[~1996-11-19 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <yg0locj2mbb.fsf@deontas.i-have-a-misconfigured-system-so-shoot-me>
1996-11-13 5:00 ` setuid abilities turned off by default Mark Greene
1996-11-19 5:00 ` Charles M Richmond [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