Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Anyway to bind ports below 1024 as nonroot?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
alexleiker
Apprentice
Apprentice


Joined: 03 Dec 2004
Posts: 190

PostPosted: Wed Jan 05, 2005 9:57 am    Post subject: Anyway to bind ports below 1024 as nonroot? Reply with quote

I"m desperatly searching for someway to use Xchat2 and have access to ports 59 and 113. I've heard some things about a possible DCCSErver hack for Xchat but i'm newb to linux when its not gentoo ;D. I have no idea how to easily patch source code and install a program. Could someone tell me either how I can bind to port 59 as nonroot or if there is an easy to way trick xchat2 into using /dccserver? Thanks.
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Wed Jan 05, 2005 10:25 am    Post subject: Reply with quote

It is not possible for any program to bind to a port numbered under 1024 without root privileges, period... It can drop root privileges after it does that, but it needs them to open that port.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum