On Friday 28 November 2003 08:22 pm, Murray Shields wrote:
> Hi All,
>
> I cannot telnet into my Gentoo box from a remote machine ("connection
> refused"). It's a machine on my local lan protected from the world by a
> firewall on a separate gateway machine, so security is somewhat of a
> non-issue.
>
> I installed netkit-telnetd but still no joy.. Do I need to activate it
> somehow?
>
> Or am I barking up th wrong tree?
>

Telneting into a gentoo box is easy. On the server end, make sure xinetd is up 
and running. Make sure it's enabled at boot time with: rc-update add xinetd 
default. If you had to do that, then start the dameon with /etc/init.d/xinetd 
start.

Have a peek at /etc/xinetd.d/telnetd. That file, telnetd, has to be there and 
is installed when netkit-telnetd is emerged.

While at the server, if you want to provide telnet access to root logins, move 
down to /etc/pam.d and edit the file named login and remark out this line:
#auth       required    /lib/security/pam_securetty.so

Once done, you may have to stop and restart /etc/init.d/xinetd if you've 
changed anything in /etc/xinetd.d. Now try to login to your newly opened 
server. 

Take note, DO NOT use telnet across your firewall or oterwise on an 
unprotected network. If you do, you are really, really asking for problems.


-- 

******************************************************************************
                     Registered Linux User Number 185956
          http://groups.google.com/groups?hl=en&safe=off&group=linux
             Join me in chat at #linux-users on irc.freenode.net
This email account no longers accepts attachments or messages containing html.
     8:35pm  up 59 days,  1:28,  7 users,  load average: 0.02, 0.06, 0.05


--
[EMAIL PROTECTED] mailing list

Reply via email to