LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Executing SUID CGI Applications

Reply
 
Thread Tools Display Modes
  #1  
Old 03-06-2004, 09:16 PM
jvegas jvegas is offline
New Member
 
Join Date: Mar 2004
Posts: 2
Default Executing SUID CGI Applications

I have a CGI application I'm trying to install, qmailAdmin, but it needs to run SUID as another account. However, if the program is marked with any suid bits, then LS won't execute it. If I remove the SUID bits, then the application will run, but won't operate properly as the user for the webserver.

What can I do to run SUID CGI applications under LS?

Thanks,
John
Reply With Quote
  #2  
Old 03-07-2004, 01:36 PM
jvegas jvegas is offline
New Member
 
Join Date: Mar 2004
Posts: 2
Ok, I've found a work around. I renamed the /cgi-bin/qmailadmin to /cgi-bin/qmailadmin-real. I then created a shell script called /cgi-bin/qmailadmin which just runs qmailadmin-real.

John
Reply With Quote
  #3  
Old 03-07-2004, 06:24 PM
Lauren Lauren is offline
LiteSpeed Staff
 
Join Date: Jul 2003
Location: New Jersey, USA
Posts: 99
Yes, for security reason, current lsws does not allow SUID CGI. Your work around is OK but introduce extra overhead (one more process has to run).

We are going to provide suexec solution in future release.

Lauren
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logs: Rotation, Management & External Applications mabonyi Feedback/Feature Requests 3 02-18-2007 01:53 PM
rails applications and dual core processor Shelby Ruby/Rails 1 09-20-2006 09:09 PM
500 error when executing lots of sqls. dlhhyct Ruby/Rails 3 09-17-2006 09:04 AM


All times are GMT -7. The time now is 09:23 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.