Solved

telnet and ftp services inactived (after Mandrake 7.0 update)

Posted on 2000-04-04
2
337 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 100 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

786 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