?
Solved

telnet and ftp services inactived (after Mandrake 7.0 update)

Posted on 2000-04-04
2
Medium Priority
?
346 Views
Last Modified: 2013-12-06
I recently upgraded to Mandrake 7.0. During the
upgrade there's a question about what level of
security you can choose. The options are "low", "medium", and "high". I chose high, but afterwards discovered that medium is the recommended level.

Now, I can't telnet or ftp into my computer, even though inetd.conf contains the following 2 lines:

ftp     stream  tcp     nowait  root    /usr/sbin/tcpd in.wuftpd -l -a

telnet  stream  tcp     nowait  root    /usr/sbin/tcpd in.telnetd        

When I try to ftp from another computer, I get:
ftp
ftp <hostname>
Connected to <hostname>.
421 Service not available, remote server has closed connection

For telnet, it just fails to connect with:
Connected to <hostname>
Escape character is '^]'.
Connection closed by foreign host.

Any ideas where should I look to find the problem? Is something inactivated that should be activated?

Thanks,
Dave
0
Comment
Question by:djc2
2 Comments
 
LVL 1

Accepted Solution

by:
bcoleman earned 400 total points
ID: 2684324
First you might want to check if you have a file called nologin in your /etc directory.  If so delete this file.
Second you will want to check hosts.deny any address put in this file will be denied access unless they are in the hosts.allow file.

Hope this helps!!!
0
 

Author Comment

by:djc2
ID: 2684363
You got it ... /etc/hosts.deny had a line denying ALL except localhost

Thanks!
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month16 days, 12 hours left to enroll

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question