Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed Radhat 7.2 workstation in a windows 2003 based DHCP enabled network. I have reserved an IP for the linux machine. I have not been able to telnet into the machine. every time I get a message " connection refused". I have even allowed all in hosts.allow file. I even removed all security tools like ipchains, and tcpwrappers but no success.
I had even checked no firewall during installation.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Why? Why would you do such a thing? Why would you remove every security tool in an attempt to run a completely insecure remote login protocol? Did it ever occurr to you that there's a good reason why it's so hard to do something like this? I really, really don't understand why people complain about the insecurity of Windows, then they switch to Linux and try to make it as completely insecure as possible.
Sorry I'm getting a little carried away here. The answer is that you should not use telnetd, because it's completely insecure. Use SSH (sshd) instead, that's what it's installed for.
Also if you would have searched either the security or the networking forum, you would have found this same answer many times.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Do you have the sshd service turned on?
What's the output of:
$ netstat -anF inet
When you boot up and it scrolls the serivces that it's turning on, does it list ssh?
Check in /etc/rc.d/rc3.d and see if there is a symlink to /etc/rc.d/init.d/sshd, and see what the name is (ls -l /etc/rc.d/rc3.d), or if you're running in graphical mode I believe you need to check rc5.d.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.