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.
Before you do this understand the reason behind the configuration. As soon as you telnet (or ftp), everyone between you and the destination machine knows your password. Your root password is exposed; you might as well post it in the telephone booth at the local pub. Your machine is fully compromised.
Most people don't realize that they actually want to use ssh/sftp/scp/rsync instead for login and file transfer. Telnet and ftp are "legacy" protocols, and should only be used where anonymous login is acceptable (like a public access server).
Even then, direct root login is prohibited by default. Requiring a second level of password is prudent, even communicating machine to machine in your home, to compartmentalize risk from a compromised machine. For specific commands, you can allow a non-root user to use sudo.
Last edited by macemoneta; 02-21-2006 at 08:56 AM.
since the passwords used to authenticate the server(ftp and telnet) are transmitted as clear text,it is not advisable to use root logins for the same(as already suggested..)
newayz the following will be the sol'n..
configuring telnet:
To enable the telnet these service, login to the server as the root userid and edit the file /etc/xinetd.d/telnet
In this file, find the line for disable and change it from the value "yes" to "no"
edit the file /etc/securetty and add the following to the end of the file:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.