in reply to suid perl

Try chown nobody your_file_name while logged in as "mailman". If that doesn't work you may need to get someone with root access to change the owner or group of the file so it will be execuitable by all or "nobody" at the very least.

HTH
Daeve

Replies are listed 'Best First'.
Re: Re: suid perl
by devslashneil (Friar) on Jun 18, 2003 at 04:17 UTC
    My File (test.pl) is executable by nobody, the output in the console running as mailman is:

    bash-2.03$ ./test.pl Content-Type: text/html; charset=ISO-8859-1 <CENTER>MEMBERS</CENTER><HTML><BODY>paul@webfirm.com.au <br> nbeddow@qantas.com.au <br> reception@computercorp.com.au
    etc.

    However from the web browser the output is:
    "MEMBERS"
    only.
    I don't see how making my file readable by nobody would help. Changing the binary files that my program utilizes to be readable by nobody, as suggested in the first reply, would work, however i don't wish to do this for security reasons.

    This would be so much easier if i had root access on this machine.

    :(
    Neil