Re: [Siglinux] Re: setuid

2003-02-10 Thread Spencer Ogden
Finally found the answer. Setuid perl scripts are run by writing a small C wrapper which is suid. Such as main(ac,av) int *ac; char **av; { execv("/path/to/your/perl/script.pl",av); } Worked for me. Spencer On Monday 10 February 2003 09:30 am, Doc wrote: > On Mon, 10 Feb 2003, Spencer O

Re: [Siglinux] Re: setuid

2003-02-10 Thread chris
On Mon, Feb 10, 2003 at 09:01:05AM -0600, Spencer Ogden wrote: > Seems like a good solution, I will give it a try. > > If Linux does not honor the setuid bit, then how come there are perl man > pages about how to write safe setuid scripts in perl? like perldoc > perlsec. possibly because ther

Re: [Siglinux] Re: setuid

2003-02-10 Thread Doc
On Mon, 10 Feb 2003, Spencer Ogden wrote: > Seems like a good solution, I will give it a try. > > If Linux does not honor the setuid bit, then how come there are perl man > pages about how to write safe setuid scripts in perl? like perldoc > perlsec. Perl != Linux.

Re: [Siglinux] Re: setuid

2003-02-10 Thread Spencer Ogden
Seems like a good solution, I will give it a try. If Linux does not honor the setuid bit, then how come there are perl man pages about how to write safe setuid scripts in perl? like perldoc perlsec. Spencer On Monday 10 February 2003 02:11 am, Jason Smith wrote: > On Monday 10 February 2003 0

[Siglinux] Re: setuid

2003-02-10 Thread Jason Smith
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 10 February 2003 02:57 pm, Doc wrote: > Linux rightly refuses to honor the setuid bit on a shell script. As > far as I know, there's no way to get around that by setting permissions. Hmm. Neither do I, but I would suggest sudo. I just d