[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mldonkey-users] lowid
From: |
Pierre Etchemaite |
Subject: |
Re: [Mldonkey-users] lowid |
Date: |
Thu, 27 Oct 2005 15:41:38 +0200 |
> messju mohr wrote:
> That didn't do it.. I tried port 80 after making sure with nmap that it
> is reachable..
> anything else i'm missing?
80 is a bad choice, only root can usually bind ports with numbers < 1024.
Which requires starting mldonkey as root, the use run_as_user or
run_as_useruid settings to drop all unnecessary rights as soon as
possible...
Under Linux, binding to privileged ports is controled by the "capability"
CAP_NET_BIND_SERVICE, so an alternative to using run_as_user or
run_as_useruid would be to run
# sucap mldonkey mldonkey 'cap_net_bind_service=eip' mlnet
(mldonkey:mldonkey being the user and group you want to run mlnet under)