LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Allowing port access to non-root (https://www.linuxquestions.org/questions/linux-networking-3/allowing-port-access-to-non-root-349946/)

joosep 08-04-2005 11:26 AM

Allowing port access to non-root
 
Hi!
I'm looking for ways to allow programs to access port 113. It's the only port my ISP has left open on their stupid firewall. I can get access to it by running the program that needs the port(aMule, museek for example) as root, but that certainly isn't the best solution. I've been told authbind can do the trick. I installed authbind using
sudo apt-get install authbind
Then I read the man pages authbind and authbind-helper. I created the file /etc/authbind/byport/113 and made it executable in Konqueror(yes I know that's not 1337), but still no luck. So I turn to you for help...
By the way my distro is MEPIS.

Half_Elf 08-05-2005 09:24 AM

a small iptables script could use a REDIRECT statement to redirect everything from port 113 to whatever other port you want. It would be really easier.

Or you could use sudo/setuid, which are a little less annoying than using root account.


All times are GMT -5. The time now is 04:36 PM.