Implement rlogin password-less intercommunication between two nodes in linux
Source: Internet
Author: User
In linux, implement rlogin password-less intercommunication between two nodes-Linux Enterprise Application-Linux server application information. The following is a detailed description. By olivenan@hotmail.com
1. Check whether the rsh-server package is installed
[Root @ racnode1 ~] # Rpm-qa rsh-server
3. Modify rlogin in the cd/etc/xinetd. d/directory and change disable = yes to disable = no.
[Root @ racnode1 package] # vi/etc/xinetd. d/rlogin
# Default: on
# Description: rlogind is the server for the rlogin (1) program. The server \
# Provides a remote login facility with authentication based on \
# Privileged port numbers from trusted hosts.
Service login
{
Socket_type = stream
Wait = no
User = root
Log_on_success + = USERID
Log_on_failure + = USERID
Server =/usr/sbin/in. rlogind
Disable = no
}
4. Modify the rsh in the cd/etc/xinetd. d/directory and change disable = yes to disable = no.
[Root @ racnode1 package] # vi/etc/xinetd. d/rsh
# Default: on
# Description: The rshd server is the server for the rcmd (3) routine and ,\
# Consequently, for the rsh (1) program. The server provides \
# Remote execution facilities with authentication based on \
# Privileged port numbers from trusted hosts.
Service shell
{
Socket_type = stream
Wait = no
User = root
Log_on_success + = USERID
Log_on_failure + = USERID
Server =/usr/sbin/in. rshd
Disable = no
}
5. Restart the xinetd service.
[Root @ racnode1 package] # service xinetd restart
Stopping xinetd: [OK]
Starting xinetd: [OK]
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.