Enable Telnet and FTP services in Redhatas-Linux Enterprise Application-Linux server application information. For more information, see the following. 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.
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:
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.
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.