* Re: setuid abilities turned off by default
[not found] <yg0locj2mbb.fsf@deontas.i-have-a-misconfigured-system-so-shoot-me>
@ 1996-11-13 5:00 ` Mark Greene
1996-11-19 5:00 ` Charles M Richmond
0 siblings, 1 reply; 2+ messages in thread
From: Mark Greene @ 1996-11-13 5:00 UTC (permalink / raw)
To: Paddy Healy
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?
>
> Thanks,
> Paddy.
>
> --
>
> Patrick Healy, Dept. of Computer Science and Information Systems
> University of Limerick, Limerick, Ireland.
>
> E-mail: patrick.healy@ul.ie Phone: +353-61-202727 (W)
> Fax: +353-61-330876 +353-61-325697 (H)
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.
Thanks for you time,
MJG
^ permalink raw reply [flat|nested] 2+ messages in thread
* 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
end of thread, other threads:[~1996-11-19 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox