[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Got root?

At 07:19 AM 4/29/01 -0400, you wrote:

I know that this might sound like a stupid question, but its one that has
been bugging me.

Why does UNIX continue to give root access to all deamons below port 1024?

I know that UNIX does it so that normal users can't seem like legit and
important services, but there surely must be some better way of delegating a
port below 1024 to a deamon.

A while ago, I remember reading on slashdot about how TrustedBSD and OpenBSD
were different from each other.  One of the differences was the fact that
TrustedBSD used ACLs to give acccess to whatever for whomever.  Couldn't you
essentially do the same for ports?  (Instead of giving access to files, you
would give acces to ports)

It would be like having a file called /etc/acl.ports (or something) and
within the file, would be a list which binaries are allowed to bind to what
ports.  (an example is provided below)

# /etc/acl.ports


I dont know if this is along the lines of what you wanted but take a gander and this site.
or the se-linux faq at

I am yet to try the NSA patch but at the very least it is it is interesting reading.

John W. Bloodworth
Senior linux support technician

 This answer was provided by the
 Sutherland Support Center.
 We provide solutions for most of your
 Linux needs.
(800) 431-3787

Reply to: