Solved

telnet and ftp services inactived (after Mandrake 7.0 update)

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

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…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
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…
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.:

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now