Configure rsh password-less logon in linux

Source: Internet
Author: User
Article Title: Configure rsh for Logon without a password in linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

1. Install the rsh-server Software Package

2. Delete the krb5-workstation package

3. Configuration:

Perform the following operations on both nodes:

Edit the/etc/xinetd. d/rsh and/etc/xinetd. d/rlogin files, change disable = yes to disable = no, and restart the xinetd process.

Add rexec, rlogin, and rsh to/etc/securetty:

Echo "rexec">/etc/securetty

Echo "rlogin">/etc/securetty

Echo "rsh">/etc/securetty

4. Edit the/etc/hosts. equiv file and add the following content:

[Root @ vistor ~] # Cat/etc/hosts. equiv

Vistor

Server1

5. Edit ~ /. Add the following content to the rhosts file:

[Root @ vistor ~] # Cat. rhosts

Vistor root

Server1 root

Now you can get crazy rsh, haha !!!

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.