How to enable Telnet and FTP services in Redhatas

Source: Internet
Author: User
By default, services such as telnt and rlogin are not installed in the system. You need to select "legacy Network Services" from add and delete programs, and then click details, in the details list, select telnet, rlogin, and other services, and install them on the CD. RedHatLinux is configured to run Telnet and FTP servers, but these services are disabled by default. Only SSH can be connected, but this is very inconvenient. To enable telnet services, the root user account is used for default installation. telnt, rlogin, and other services are not installed in the system, select "legacy Network Services" from the delete program, click details, select telnet, rlogin, and other services in the details list, and install them on a CD.
RedHat Linux is configured to run Telnet and FTP servers, but these services are disabled by default. Only SSH can be connected, but this is very inconvenient. To enable telnet services, log on to the server with the root user account and run the following command:
# Chkconfig telnet on
# Service xinetd reload
Reloading configuration: [OK]
Starting from Red Hat Enterprise Linux 3.0 (and WBEL), the FTP server (wu-ftpd) is no longer provided with xinetd. It has been replaced by vsftp and can be started from/etc/init. d/vsftpd, as shown below:
#/Etc/init. d/vsftpd start
Starting vsftpd for vsftpd: [OK]
If you want to start and stop the vsftpd service when you restart (reboot) the machine, you can create the following symbolic link:
# Ln-s/etc/init. d/vsftpd/etc/rc3.d/S56vsftpd
# Ln-s/etc/init. d/vsftpd/etc/rc4.d/S56vsftpd
# Ln-s/etc/init. d/vsftpd/etc/rc5.d/S56vsftpd
Allow root login to Telnet and FTP services
Before you learn how to configure Red Hat Linux for root logon, remember that this is extremely insecure. Do not configure this type of Logon for your production server.
To configure Telnet for root login, you only need to edit the file/etc/securetty and add the following content to the end of the file:
Pts/0
Pts/1
Pts/2
Pts/3
Pts/4
Pts/5
Pts/6
Pts/7
Pts/8
Pts/9
In this way, up to 10 telnet sessions are allowed to connect to the server as the root user. To configure FTP for root login, edit the file/etc/vsftpd. ftpusers and/etc/vsftpd. user_list, and delete the "root" line from each file.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.