Lee Begg wrote:
On Sat, 12 Feb 2005 18:08, Robert Himmelmann wrote:Ports over 1024 work as a beginning. Altough that is a bit difficult bcause I have to type "127.0.0.1:1025" everywhere. I rephrase my question: Is there a way (expect from suid) to allow normal users to run a server that listens on port 21?
I am developing a FTP-server in Java. When I try to start ot as a normal
user I get "java.net.BindException: Permission denied". As root it runs
perfectly. Is there any way to allow users to start servers (if possible
only on one port)?
Normal users are not allowed to open ports below 1024, only root can. FTP is 21 and 20.
Happy Hacking,
Robert Himmelmann
Later
Lee Begg
-- Happy Hacking, Robert Himmelmann
Use free software only. See http://www.gnu.org/philosophy/free-sw.html
Democracy is a government where you can say what you think even if you don't think.
-- /usr/bin/fortune
