Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Ury Segal <ury@ibm.net>
Subject: Re: setuid scripts on DUX 4.0D: (2)why doesnt work?
Date: 1999/02/11	[thread overview]
Message-ID: <36C2F08B.CBB19417@ibm.net> (raw)
In-Reply-To: 36BEB582.B2348578@EUnet.yu



Nikola Milutinovic wrote:

> Ori Tzoran wrote:
> >
> > hello,
> >
> > the following example doesn't work:
> >
> > #!/sbin/sh
> > # test suid
> > id -u
> > ps -f -p $$
> > exit 0
> >
> > ls -l test.suid
> > -r-sr-x--x ... root system test.suid
> >
> > what's the problem?

You should add "-b" after the first line, ie.e

 #!/sbin/sh -b
--
Ury Segal
e-mail: ury@ibm.net
Phone: 972-52-651629 , ICQ: 15153160





  reply	other threads:[~1999-02-11  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-06  5:00 setuid scripts on DUX 4.0D: (2)why doesnt work? Ori Tzoran
1999-02-08  5:00 ` Nikola Milutinovic
1999-02-11  5:00   ` Ury Segal [this message]
1999-02-08  5:00 ` Barry Margolin
1999-02-10  5:00 ` Bruce Barnett
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