Koozali.org: home of the SME Server

open port for telnet

Pat Erler

open port for telnet
« on: August 14, 2001, 02:38:49 PM »
hi!

i need to open up tcp port 20000 to allow a specific program to connect to the e-smith server.

i run the approriate ipchains command (/sbin/ipchains --append input -p tcp -s 0/0 20000 -d 192.168.0.253 20000 -j ACCEPT) but the server is still refusing telnet connections from other computers (when i try it locally everything is fine).

is there another mechanism that prevents telneting into the box on port 20000?


PAT

Alex Wallace

Re: open port for telnet
« Reply #1 on: August 14, 2001, 09:12:49 PM »
you need to modify the file /etc/passwd and change the end of the line for the user you want to grant telnet access to from ssh to bash (or your favorite shell) to be able to telnet or ssh regular (non root or admin) users...