Solved

telnet and ftp services inactived (after Mandrake 7.0 update)

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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 how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

808 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