LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-15-2003, 11:08 AM   #1
GŠutama
Member
 
Registered: Jun 2003
Location: Tokyo
Distribution: Gentoo
Posts: 78

Rep: Reputation: 15
having users setting up server on restricted ports


How do I let normal users set up servers on restricted ports? i.e I need users to have premission to use port 80 and 19. Now there is only root that can use these ports.

I use Mandrake 9.0, if there is any difference between the distros.
 
Old 06-15-2003, 11:31 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I'm not sure what you mean exactly. The ports are used by specific applications like Apache uses port 80 by default. Do you want users to be able to manage Apache?
 
Old 06-15-2003, 11:45 AM   #3
GŠutama
Member
 
Registered: Jun 2003
Location: Tokyo
Distribution: Gentoo
Posts: 78

Original Poster
Rep: Reputation: 15
No not really I am behind a firewall and that firewall can only forward specified port like http, ftp, irc ... Not an arbitrary port like 4663. So I have to forward one of the specified port to my computer and then make the other program use for example port 80 , 21 or what ever port I can choos in the firewall.

The only thing that is incommon with all the ports I can get the firewall to forward is that they are reserved.

So I do not want to use port 80 for http I just need normal users to take control of that port. This has nothing to do with Apache or any other standard program.

The program I want to run is Overnet.
 
Old 06-15-2003, 11:50 AM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
From what I understand, no users(including root) actually own ports. Its only applications that can bind to specific ports and the users have rights to those applications.
 
Old 06-15-2003, 12:04 PM   #5
GŠutama
Member
 
Registered: Jun 2003
Location: Tokyo
Distribution: Gentoo
Posts: 78

Original Poster
Rep: Reputation: 15
well yes ok

But only applications started by root can bind ports below 1024.

And that is wat I would like to change.

I would like a normal user to bind ports below 1024.
 
Old 06-15-2003, 12:16 PM   #6
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Then you have to allow the normal user adminstrative rights to the service. You could use sudo.
 
Old 06-15-2003, 01:20 PM   #7
GŠutama
Member
 
Registered: Jun 2003
Location: Tokyo
Distribution: Gentoo
Posts: 78

Original Poster
Rep: Reputation: 15
Thank works like a charm.

Stupid of me not to think of sudo.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiding Folders from restricted users nowhere.elysium Linux - Security 3 11-17-2005 01:46 PM
Setting Up a Restricted User Account MClayton Linux - Networking 2 10-19-2004 11:31 AM
kernel level restricted ports? e1000 Linux - Security 1 06-24-2004 05:31 PM
Preventing users to bind server to ports 0-10000 Kostko Linux - Networking 0 08-27-2003 04:58 AM
users and ports? noir-gel Linux - Networking 4 02-07-2003 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration