To administer your WestHost account, please enter your
Domain Name or Server Manager Username.

WestHost: Professional Website Hosting Company








Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    May 2005
    Posts
    4

    Default low ports only accessible with root access

    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.

  2. #2
    Senior Member jalal's Avatar
    Join Date
    May 2003
    Location
    Germany
    Posts
    1,377

    Default

    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?

  3. #3
    Junior Member
    Join Date
    May 2005
    Posts
    4

    Default

    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.

  4. #4

    Default

    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

  1. .htaccess file in vb folder causes Zero Sized Reply
    By paul.naama in forum General Discussion
    Replies: 3
    Last Post: 08-28-2007, 08:34 AM
  2. Replies: 19
    Last Post: 04-05-2006, 05:42 PM
  3. rpm and root access
    By Anonymous in forum General Info
    Replies: 1
    Last Post: 05-29-2005, 10:19 PM
  4. Delete or disable domain@domain.com POP account?
    By maida in forum E-mail / FTP Management
    Replies: 24
    Last Post: 10-29-2003, 02:24 PM
  5. Lots of directories in /proc...?
    By humuhumu in forum General Discussion
    Replies: 7
    Last Post: 10-09-2003, 06:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •