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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Need to run lshttpd with UID less than 60

Reply
 
Thread Tools Display Modes
  #1  
Old 11-06-2008, 10:06 AM
catfisch catfisch is offline
New Member
 
Join Date: Nov 2008
Posts: 5
Default Need to run lshttpd with UID less than 60

Hello all.
I Need to run lshttpd with UID less than 50. It won't allow me to run it unless the UID and GID in /etc/passwd and /etc/groups is less then 50 and 10 respectivley. Is there a way to force it to start anyway? On the OS i'm using I would have to add 50 users; which I don't want to have to do. Oh.. and I can't run suexec either. I just need the binary to skip the checks for UID and GID altogether.
Thanks!
Cat

Last edited by catfisch; 11-06-2008 at 11:02 AM..
Reply With Quote
  #2  
Old 11-06-2008, 10:46 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
The minimum UID required is 11, 60 should be fine.
Reply With Quote
  #3  
Old 11-06-2008, 10:58 AM
catfisch catfisch is offline
New Member
 
Join Date: Nov 2008
Posts: 5
Quote:
Originally Posted by mistwang View Post
The minimum UID required is 11, 60 should be fine.
I am trying to run it as UID 7 and the log/error.log says "user id must not be less then 50 and group id must not be less then 10. Please fix the above problem first!" So does this hold? Or is it in fact only 11?
Thanks,
V/R
Cat
Reply With Quote
  #4  
Old 11-06-2008, 11:23 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
It is 11, not 50.
Reply With Quote
  #5  
Old 11-06-2008, 11:38 AM
catfisch catfisch is offline
New Member
 
Join Date: Nov 2008
Posts: 5
Quote:
Originally Posted by mistwang View Post
It is 11, not 50.
OK i'll try to create (4) more users and just disable them. We'll see how that works.
Thanks!
-Cat
Reply With Quote
  #6  
Old 11-06-2008, 12:25 PM
catfisch catfisch is offline
New Member
 
Join Date: Nov 2008
Posts: 5
Quote:
Originally Posted by catfisch View Post
OK i'll try to create (4) more users and just disable them. We'll see how that works.
Thanks!
-Cat
It does in fact start now (thank you!) ( ps-ef shows lscgid.3.3.22 and lshttpd.3.3.22) but I can't access it. I telneted to localhost 8888 and did a (get "/") but i don't get anything. Still looking into it. An Strace shows it looking for /proc/meminfo which could explain it. This OS doesn't use /proc or support threads allthough I don't see litespeed trying to do any threads. I'll keep trying ....
Thanks!
-Cat
Reply With Quote
  #7  
Old 11-06-2008, 02:53 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
port is 8088 and 7080 by default.
Reply With Quote
  #8  
Old 11-07-2008, 01:19 PM
catfisch catfisch is offline
New Member
 
Join Date: Nov 2008
Posts: 5
Quote:
Originally Posted by mistwang View Post
port is 8088 and 7080 by default.
but i changed them from the defaults. I get a response from nmap on 8888 and 7777 like I should but it can't serve a page. Any ideas?
-Cat
Reply With Quote
  #9  
Old 11-07-2008, 01:22 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
blocked by firewall?
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


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



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