?
Solved

telnet and ftp services inactived (after Mandrake 7.0 update)

Posted on 2000-04-04
2
Medium Priority
?
343 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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 …
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month8 days, 1 hour left to enroll

765 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