Operating System - HP-UX
1754420 Members
2598 Online
108813 Solutions
New Discussion юеВ

Running network services as a non-root user

 
SOLVED
Go to solution
appli1
Occasional Contributor

Running network services as a non-root user

I heard the port 443 (or anything less than 1024, I think) it needs to be run as root else it wont have the permission to listen on that socket. Can you please somebody else help me by sharing any document for the same.
2 REPLIES 2
Horia Chirculescu
Honored Contributor
Solution

Re: Running network services as a non-root user

As a general rule, UNIX based programs that bind to ports less than 1024 must be run as root user. The UNIX kernel enforces this restriction. Read kernel documentation (you can find the docs on any linux distribution)

Best regards,
Horia.
Best regards from Romania,
Horia.
Viktor Balogh
Honored Contributor

Re: Running network services as a non-root user

Hi appli1,

for a documentation use the keyword "privileged ports" in google.

Regards,
Viktor
****
Unix operates with beer.