Configure rlogin on Linux (RHEL and SuSE)

Source: Internet
Author: User
Configure rlogin-Linux Enterprise Application-Linux server application information on Linux (RHEL and SuSE). The following is a detailed description. I have been collecting logs on Linux these days and need to perform various operations on Linux. I configured rlogin yesterday, which took a lot of time. Rlogin is a traditional remote logon method in Linux. For security reasons, we recommend that you use ssh instead. There are already a lot of articles on rlogin details on the Internet. The following describes how to configure rlogin.

I. Installation
To make the current machine a server that supports rlogin, you need to install the rlogin server software: rsh-server. First, check whether rsh-server has been installed in Terminal:

Rpm-q rsh-server

If the server is not installed, install the server. If the server is installed, skip the following steps:

1. On RHEL, Applications → System Settings → Add/Remove Applications; on Suse, YaST → Software Management, open the package manager;

2. In Package management, select Legacy Network Server on RHEL, click Detail, select rsh-server; Suse, select Package Groups in Filter, and then select Products → Networks → Others, select rsh-server;

3. Insert a proper disc as prompted. After installation, remove the disc.

Note: During RHEL4 installation, two software except rsh-server are selected simultaneously, which may cause installation failure. Therefore, cancel the selection and only select rsh-server for installation.

Ii. Configuration
The rsh server installed by default is managed by the xinetd service, so you need to restart this service to make rsh-server available. Before restarting, modify the configuration files of rlogin and rsh, because the two are disabled by default. In/etc/xinetd. d/, locate the rlogin and rsh files and open them. Modify the file as follows:

Disable = yes → disable = no

Save the configuration file and restart the xinetd service. In Terminal:
Service xinetd restart

Iii. Firewall
After the above two steps, you can use the rlogin command on the local machine to access localhost or 127.0.0.1, but it cannot be accessed from outside. This is because the firewall shields the port 513 used by rsh-server, therefore, add the port to the allowed list.

1. On RHEL, choose Applications> System Settings> Security Level, add 513: tcp to Other Ports, and click OK.

2. For Suse, refer to the FTP configuration in the previous article.

After the preceding steps, you can use rlogin to log on to the remote server.

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.