Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Focus-Sun
[Top] [All Lists]

Re: allowing ordinary users to open privileged ports

Subject: Re: allowing ordinary users to open privileged ports
Date: Sat, 04 Sep 2004 16:08:59 +0200

      Has anyone in the list successfully tried allowing ordinary
users to open privileged (< 1024) ports? We have a solaris 8 on sparc
machine running an (java) application that normally uses ports > 1024;
however a client requested the application to use privileged ports
instead.

      This resulted in the application failing to start as the port
that the application was trying to bind to was < 1024. I've looked for
methods/workarounds to allow this but have so far come up empty.

In Solaris 9 and before it is not possible to achieve this other than
by running applications as root.

In Solaris 10, you can give users the net_privaddr privilege
which allows them to bind to privilege ports.

Of course, this means that no part of the infrastructure should
depend on reserved port based "authentication".

(I.e., no .rhosts file authentication; no "auth_sys" NFS, etc.)

Casper

<Prev in Thread] Current Thread [Next in Thread>