* Re: setuid abilities turned off by default
1996-11-13 5:00 ` setuid abilities turned off by default Mark Greene
@ 1996-11-19 5:00 ` Charles M Richmond
0 siblings, 0 replies; 2+ messages in thread
From: Charles M Richmond @ 1996-11-19 5:00 UTC (permalink / raw)
Cc: patrick.healy, greenemj
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
*
*************************************************************************
^ permalink raw reply [flat|nested] 2+ messages in thread