LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LQ Articles Discussion
User Name
Password
LQ Articles Discussion This forum is for the discussion of content posted to the Articles and Editorials section.

Notices


Reply
  Search this Thread
Old 02-24-2008, 04:04 PM   #1
mikaelstaldal
LQ Newbie
 
Registered: Sep 2006
Location: Sweden
Distribution: Ubuntu and Debian
Posts: 16

Rep: Reputation: 0
Why can only root listen to ports below 1024?


A new article entry has been added:

Why can only root listen to ports below 1024?

Quote:
In Linux, and other UNIX-like systems, you have to be root (have superuser privileges) in order to listen to TCP or UDP ports below 1024 (the well-known ports).
This port 1024 limit is a security measure. But it is based on an obsolete security model and today it only gives a false sense of security and contributes to security holes. Therefore, it should be removed. As soon as possible.
 
Old 02-26-2008, 02:17 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Today the typical Linux machine is not used in a way which makes the port 1024 limit relevant. We tend to use it as a desktop client (workstation) with only one user which has superuser access via sudo.
Which distros other than the Ubuntu family follow this model? Might be popular, but typical?
 
Old 07-09-2008, 02:34 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
There's a lot of Linux servers out there, and more being installed all the time.
In fact, many articles have posited that the main incursion is to replace other Unix servers, rather than MS...
 
Old 08-20-2022, 11:36 AM   #4
elgrandeperro
Member
 
Registered: Apr 2021
Posts: 415
Blog Entries: 2

Rep: Reputation: Disabled
Thanks seems to be an old post.

Last edited by elgrandeperro; 08-21-2022 at 09:19 AM. Reason: old link
 
Old 08-21-2022, 04:03 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,925

Rep: Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320
Quote:
Originally Posted by elgrandeperro View Post
I am not getting into details ...
davidjohn6767 is a spammer and it is a 15 years old thread.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Allowing non-root to bind to ports < 1024? MWTJ Linux - Networking 8 08-12-2011 07:06 PM
Need Java program to listen on ports < 1024 w/o being root - possible brenan99 Linux - General 2 02-22-2005 02:12 PM
using privileged ports below 1024 not possible AS ROOT??? flipper333 Slackware 2 01-23-2004 07:35 PM
opening ports below 1024 without being root? meks Linux - Networking 2 12-25-2003 06:05 PM
binding <1024 ports with non root account? linuxlouis Linux - Networking 2 08-11-2003 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LQ Articles Discussion

All times are GMT -5. The time now is 08:31 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
Open Source Consulting | Domain Registration