[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: suid
On Thu, 12 Feb 1998, Erez Doron wrote:
>
> > >so how do i make my script suid root ?
> > AFAIK, in Linux you don't. Setuid shell scripts are BAD.
>
> if you write a suid root script without thinking to much, it is badbut if
> you think carefully before doing so, it is not bad, and an easy solution
> to some problems ( better then giving the root password )
No you don't. Install sudo.
>
> > For a number
> > of reasons. There was various hacks to implement the thing securely, but
> > generally the answer is no.
>
> so can I or can't I make suid root scripts in tcsh ?
Nope, since tcsh wont run setuid.
--Ariel
>
> > You may try to use suidperl, or compile C
> > program (taking all precautoins one takes writing suid program). Or just
> > think - do you really need it to be suid root?
> > --
> > frodo@sharat.co.il \/ There shall be counsels taken
> > Stanislav Malyshev /\ Stronger than Morgul-spells
> > phone +972-2-5369213 /\ JRRT LoTR.
> > http://www.sharat.co.il/frodo/ whois:SM719-RIPE@whois.ripe.net
>
>
>
+---------------------------------------------------------------+
| Ariel Biener |
| e-mail: ariel@post.tau.ac.il Work ph: 03-6406086 |
| fingerprint = 07 D1 E5 3E EF 6D E5 82 0B E9 21 D4 3C 7D 8B BC |
+---------------------------------------------------------------+
- References:
- Re: suid
- From: Erez Doron <erez@savan.com>