ports 80 and 443

I know that root is the only user-id that can manage these ports (80 and 443), but right now I need to use other user-id for assiggning these ports (for security reasons) , how can i do this one?, is enough assign one user to root group?thanks!!!!
[261 byte] By [skinfield] at [2007-11-26 11:24:45]
# 1
Check the system tunables guide on docs.sun.com. IIRC it's something like minimum priveleged port.alan
alanpae at 2007-7-7 3:40:16 > top of Java-index,General,Sun Networking Services and Protocols...
# 2
I believe that with that tunable you can increase the value, but not decrease it. You can also assign specific ports to be privilged, but not release low ones.In Solaris 10, you could give a process or project the privilege of binding to privileged ports. -- Darren
Darren_Dunham at 2007-7-7 3:40:16 > top of Java-index,General,Sun Networking Services and Protocols...
# 3

> I believe that with that tunable you can increase the

> value, but not decrease it. You can also assign

> specific ports to be privilged, but not release low

> ones.

http://www.sun.com/blueprints/1299/network.pdf

Page 20 shows an example of bumping it up, but I don't see why you couldn't do it in the reverse.

Anyway, I took a quick look at the Solaris 10 doc set and it would appear that that tunable no longer exists.

alan

alanpae at 2007-7-7 3:40:16 > top of Java-index,General,Sun Networking Services and Protocols...
# 4

> > I believe that with that tunable you can increase

> the

> > value, but not decrease it. You can also assign

> > specific ports to be privilged, but not release

> low

> > ones.

>

> http://www.sun.com/blueprints/1299/network.pdf

>

> Page 20 shows an example of bumping it up, but I

> don't see why you couldn't do it in the reverse.

It's not explicitly mentioned, but if you try with 'ndd', it won't let you lower that number below 1024. The section is on "adding" ports to the list, not removing them.

There's no way to do this without being root or running solaris 10 (where you can use the net_privaddr privilege).

--

Darren

Darren_Dunham at 2007-7-7 3:40:16 > top of Java-index,General,Sun Networking Services and Protocols...
# 5
> but if you try with> 'ndd', it won't let you lower that number below 1024.Something to do next March I guess.thanks,alan
alanpae at 2007-7-7 3:40:16 > top of Java-index,General,Sun Networking Services and Protocols...
# 6
What does next March refer to?-- Darren
Darren_Dunham at 2007-7-7 3:40:16 > top of Java-index,General,Sun Networking Services and Protocols...
# 7

> What does next March refer to?

Despite some people's best(worst?) efforts, I'll have a laptop again next March. Then I can test this for myself. Just met another idiot who's going to jail on my way over to write this message. These people are much to obvious and predictable.

alan

alanpae at 2007-7-7 3:40:16 > top of Java-index,General,Sun Networking Services and Protocols...