Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ CentOS6 installation configuration rsh     - RHEL (RedHat) 6.3 using EPEL Yum source (Linux)

- JavaScript in this usage (Programming)

- Mass data storage application of MongoDB database (Database)

- Java class HashSet (Programming)

- Linux System shutdown procedures (Linux)

- Introduction and use of the Raspberry Pi (Linux)

- Linux file permissions bit forced bits and adventure Comments (Linux)

- Linux Getting Started tutorial: Experience VirtualBox Virtual Machine chapter (Linux)

- Java Concurrency - processes and threads (Programming)

- SQLite3 simple operation (Database)

- Linux system man help tips (Linux)

- Linux environment Duplex (multi-machine) automatic mutual backup scheme (Linux)

- Analysis: Little Notebook facing a major security threat secure online (Linux)

- Installation and Configuration OpenVPN server and client on Ubuntu 15.04 (Server)

- Linux security-related basics (Linux)

- Based on a complete solution RMI service to transfer large files (Programming)

- To share Linux script automatically change passwords (Linux)

- Linux Man Page Installation (Linux)

- MySQL optimization tabs (Database)

- Camera-based face recognition OpenCV crawl and storage format (Python) (Linux)

  CentOS6 installation configuration rsh
  Add Date : 2018-11-21      

CentOS6 installation configuration rsh

General Information:
a node:
hostname: hadrtest01
two nodes:
hostname: hadrtest02

1, two nodes were installed rsh, whether rsh-server package is already installed

yum -y install rsh rsh-server

2, modify /etc/xinetd.d/rlogin ensure disable = no line

# 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

The same two nodes modify

3, modify /etc/xinetd.d/rsh ensure disable = no line

[root @ hadrtest01 ~] # cat /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

The same two nodes modify

4, edit / etc / securetty, add rexec, rsh, rlogin three lines

echo "




"> > / etc / securetty

5, edit the / etc / hosts, add two nodes ip, host name

[root @ hadrtest01 ~] # cat / etc / hosts localhost localhost.localdomain localhost4 localhost4.localdomain4

:: 1 localhost localhost.localdomain localhost6 localhost6.localdomain6 hadrtest01 hadrtest02

two nodes also modify

6, modify ~ / .rhosts, add a node, two nodes host name, ip

[root @ hadrtest01 ~] # cat ~ / .rhosts

hadrtest01 root

hadrtest02 root

[root @ hadrtest02 ~] # cat ~ / .rhosts

hadrtest01 root

hadrtest02 root

7, respectively, to start the service two nodes

service xinetd restart


chkconfig xinetd on

8, a test

[root @ hadrtest01 ~] # rsh hadrtest02

Last login: Tue Feb 16 17:44:56 from hadrtest01

[root @ hadrtest02 ~] #

do not enter a password to log on two nodes indicates the installation was successful

two nodes:

[root @ hadrtest02 ~] # rsh hadrtest01

Last login: Tue Feb 16 17:39:35 from hadrtest02

[root @ hadrtest01 ~] #

without entering a password to log node represents a successful installation

- MySQL multi-master multi-cluster deployment uses alive Galera (Database)
- CentOS 6.4 Python 2.6 upgrade to 2.7 (Linux)
- Linux mount command Detailed (Linux)
- Detailed iptables (Linux)
- Android start automatically and add and delete a desktop shortcut (Programming)
- How to configure AWStats in Ubuntu Server (Server)
- Ceph tuning --Journal and tcmalloc (Server)
- Java annotations entry automatically generates SQL statements (Programming)
- Linux Network Programming - raw socket can do (Programming)
- Openfire achieve load balancing cluster by Nginx (Server)
- Vi syntax highlighting settings (Linux)
- JavaScript prototype and prototype chain and project combat (Programming)
- LVM Disk Manager Application (Linux)
- Ubuntu users to install Xtreme Download Manager (Linux)
- Linux system components Detailed log (Linux)
- Puppet 3.x installed on Debian 7 (Server)
- Java threads in the life cycle (Programming)
- SSH automatic disconnection problem solving (Linux)
- CentOS cross compiler core Raspberry Pi 2 (Linux)
- Java concurrent programming combat (using synchronized synchronization method) (Programming)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.