How can we install a program that needs to listen to ports below 1023, if those programs need to be started with root access in order to access those ports? I installed my program in /etc/rc.d, but since I did the installing the script runs with my user id and consequently doesn't seem to have access to lower ports. Only apache can access port 80 since httpd came preinstalled as root.
Results 1 to 4 of 4
-
05-26-2005, 12:20 AM #1Junior Member
- Join Date
- May 2005
- Posts
- 4
low ports only accessible with root access
-
05-26-2005, 03:00 AM #2
As you note, to access port numbers below 1023, you will need root access, and you don't have that.
What are you trying to do?
-
05-26-2005, 10:43 AM #3Junior Member
- Join Date
- May 2005
- Posts
- 4
I'm trying to install a custom server, and I don't want a port number to be part of the url. I can understand westhost not wanting us to be root, but accessing the basic ports is a real dealbreaker for hosting service. Its not "virtual root" at all if we can't even install a server. If there is no way around this then I wont have a choice but to find another host.
-
05-29-2005, 01:15 PM #4Member
- Join Date
- Jun 2004
- Posts
- 78
Actually, you shouldn't have any problems at all binding to 'privledged' ports. If you go to http://strangeantics.com:81/ I just setup Apache2 to run on port 81 ;). No fancy work-- just told it to and it did. I can't promise I'll have it running on port 81 long because I usually keep it on 8080 though.
Similar Threads
-
.htaccess file in vb folder causes Zero Sized Reply
By paul.naama in forum General DiscussionReplies: 3Last Post: 08-28-2007, 07:34 AM -
How to upgrade MySQL from version 3.x to 4.x w/o Root access
By webgraph in forum PHP / MySQLReplies: 19Last Post: 04-05-2006, 04:42 PM -
rpm and root access
By Anonymous in forum General InfoReplies: 1Last Post: 05-29-2005, 09:19 PM -
Delete or disable domain@domain.com POP account?
By maida in forum E-mail / FTP ManagementReplies: 24Last Post: 10-29-2003, 01:24 PM -
Lots of directories in /proc...?
By humuhumu in forum General DiscussionReplies: 7Last Post: 10-09-2003, 05:31 PM
Reply With Quote