LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-14-2005, 08:30 AM   #1
gtoerner
LQ Newbie
 
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
access using port 443


Is the use of port 443 only accessible to root? Specifically, I have monitoring software with a web interface that I want to use https (port 443), however when I run the software, I get an error stating that the port is already in use...

I know that it is not in use (or at least it does not show up in netstat -a), and my thought is that the error is erroneously reporting it is in use when really it might just not have access to it.

Also, it runs ok when I start it as root, but I do not want to run it as root.

any way to get around this?
 
Old 07-14-2005, 10:13 AM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
Back in time, some crazy nerds thought it would be a good "security" feature to prevent users to open a port in the 1-1024 range. Therefore, only root can start a program that listen on a port in that range...
 
Old 07-14-2005, 02:37 PM   #3
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
At the time it was a dandy security feature. Most 13 year old kids sitting in their basements didn't have the money to go a big iron UNIX machine, so you were pretty much assured that if you were accessing a privileged port that the system owner started the process and that it could be (more or less) trusted.

The networks were a different place back then, even the internet. Before Robert Morris came along and reminded us that there was a whole big world out there, security was more a set of ethics than the business opportunity that it is now.
 
Old 07-14-2005, 05:48 PM   #4
Krugger
Member
 
Registered: Oct 2004
Posts: 229

Rep: Reputation: 30
So today servers start as root and then invoke a setuid call to drop root, so they don't become a hazard to the rest of the system.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Port 443 Verbal Kint Linux - Software 0 10-04-2005 03:07 AM
can we access port 443 without root permission prasad_koukuntla Linux - Security 2 07-31-2005 05:52 PM
turn off http port 80, keep https port 443 lothario Linux - Networking 6 02-11-2005 04:06 AM
Allow this particular web page access on port 443 ONLY lothario Linux - Software 2 01-14-2005 10:14 PM
Getting SSL onto PORT 443 kuso Linux - Software 6 03-10-2004 11:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:23 PM.

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