I'm not 100% sure of the security ramifications of this, but I believe you
chmod your script to 4711 and change your shebang to #!/usr/bin/perl -w -U.

-----
Scot Robnett
inSite Internet Solutions
[EMAIL PROTECTED]


-----Original Message-----
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 8:56 AM
To: [EMAIL PROTECTED]
Subject: suid


Hi,


What should I need to do if I want one or more of my CGI programs to be run
by Apache user but in fact to run them by my own account?
I want to do this because I need to upload files, create directories and
other tasks with some programs, and Apache user doesn't have the right
permissions for these.

Thank you.


Teddy,
Teddy's Center: http://teddy.fcc.ro/
Email: [EMAIL PROTECTED]



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  • suid Octavian Rasnita
    • Scot Robnett

Reply via email to