Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Binding low port (<1024) with non-priv process?

Status
Not open for further replies.

Prisoner655321

Programmer
May 23, 2000
1
US
Is there any way to configure solaris8 to allow non-root processes to bind a low port (&lt;1024).<br>&nbsp;<br>I have tried setting tcp_smallest_nonpriv_port using ndd, but it won't let me set anything less than 1025 as the value. I have tried patching Sol8 to allow the ndd command to set it less than 1024. The patch allows the command to succeed and it displays back that a lower value is set, but I still get permission exceptions when attempting to bind a low port from a non-root process.<br>&nbsp;<br>Using setuid() is not an option.<br>&nbsp;<br>Please, no lectures on security, I know what cliff I'm driving off. <br>&nbsp;<br>Thanks for any help.<br>&nbsp;<br>Lance<br>&nbsp;<br>&nbsp;<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top