[Twisted-Python] enable ports 0-1023 to plain users
Hi, I need a help. In particural I need to allow plain users under Linux to run SMTP servers (in Python) under 25. Is there any way to remap it to the over 1024 space or just enable (without hacking the kernel). The varoius sudo or permissions solutions are not an options for me. Thanks in advance, A.
On Thu, Mar 17, 2005 at 11:59:16PM -0600, Andrzej Leszczynski wrote:
Hi, I need a help. In particural I need to allow plain users under Linux to run SMTP servers (in Python) under 25. Is there any way to remap it to the over 1024 space or just enable (without hacking the kernel). The varoius sudo or permissions solutions are not an options for me.
Thanks in advance, A.
Use authbind(1). -Andrew.
Andrew Bennetts wrote:
On Thu, Mar 17, 2005 at 11:59:16PM -0600, Andrzej Leszczynski wrote:
Hi, I need a help. In particural I need to allow plain users under Linux to run SMTP servers (in Python) under 25. Is there any way to remap it to the over 1024 space or just enable (without hacking the kernel). The varoius sudo or permissions solutions are not an options for me.
Thanks in advance, A.
Use authbind(1).
-Andrew.
Does it work on non-Debain distros? A.
On Fri, Mar 18, 2005 at 09:24:30AM -0600, Andrzej Leszczynski wrote:
Andrew Bennetts wrote: [...]
Use authbind(1).
-Andrew.
Does it work on non-Debain distros?
I don't see any reason why not. You can get a tarball from http://ftp.debian.org/debian/pool/main/a/authbind/authbind_1.1.5.2-0.1.tar.g..., or perhaps use alien to try convert a deb into your preferred packaging format. -Andrew.
Andrew Bennetts wrote:
On Fri, Mar 18, 2005 at 09:24:30AM -0600, Andrzej Leszczynski wrote:
Andrew Bennetts wrote:
[...]
Use authbind(1).
-Andrew.
Does it work on non-Debain distros?
I don't see any reason why not. You can get a tarball from http://ftp.debian.org/debian/pool/main/a/authbind/authbind_1.1.5.2-0.1.tar.g..., or perhaps use alien to try convert a deb into your preferred packaging format.
Thx for the info. I will give a try. For now I use: iptables -t nat -A PREROUTING -p tcp --dport 25 -i lo -j REDIRECT --to-port 2525. A.
participants (2)
-
Andrew Bennetts -
Andrzej Leszczynski