Enable rsh for root on Linux

Source: Internet
Author: User
On the Linux platform, enable the rsh service for root-Linux Enterprise Application-Linux server application information. The following is a detailed description. I tried to configure myself for half a day and thought it was more complicated than Solaris. It seems that there are no existing guides on the Internet, so it may be useful to record them.

1> make sure to install the rsh service: rsh-server

2> activate the rsh service

# Chkconfig rsh on
Chkconfig modifies the/etc/xinetd/rsh file and sets disable to no.

3> Create ~ /. Rhosts. The content is +.

# Cat ~ /. Rhosts
+

4> Create/etc/securetty and add rsh.

# Cat/etc/securetty
Rsh

5> Modify/etc/pam. d/rsh

Auth required pam_rhosts_auth.so
Add promiscuous to the end of the row
Auth required pam_rhosts_auth.so promiscuous

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.