Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ CentOS6 installation configuration rsh     - Linux Beginner Guide: Installing packages on Ubuntu and Fedora (Linux)

- Java rewrite equals method (Programming)

- The Linux role of each directory contents (Linux)

- LAN in Ubuntu shared folders to Windows (Linux)

- Command line tool Tmux (Linux)

- Ubuntu Install OpenSSL (Linux)

- Oracle 10g after the failure to start the upgrade (Oracle instance terminated. Disconnection forced) (Database)

- The YUM package management under Linux (Linux)

- Calculate CPU utilization (Linux)

- Gitlab installation under CentOS 7 (Linux)

- To install Redis under Linux (Database)

- Android graphic introduction NDK installation and simple jni demo implementation (Linux)

- The difference between Objective-C language nil, Nil, NULL, NSNull (Programming)

- Easily create RPM packages using the FPM (Linux)

- C # assembly calls across constants, variables and functions (Programming)

- Binary Tree Traversal (Linux)

- Redis-- persistence articles (Database)

- C ++ you can become a new scripting language (Programming)

- Java and C / C ++ data conversion when network communication (Programming)

- The strings in Python reside (Programming)

  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

- To establish a secure and reliable Linux operating system (Linux)
- DB2 table space is redirected to restore the database combat (Database)
- CentOS 6 / Linux su: Unable to set user ID: Resource temporarily unavailable (Linux)
- HAProxy performance under high concurrency (Server)
- Using shell users or virtual users to login to pureftpd (Linux)
- Customize the 404 error page Nginx (Server)
- Use SVN to automatically deploy code under Apache (Server)
- How to Install Telegram instant messaging software on Ubuntu (Linux)
- CentOS 6.5 installation and configuration Cobbler (Server)
- Use IP address spoofing Intrusion Prevention Firewall (Linux)
- Zabbix system email alert Python script (Server)
- Git and GitHub use of Eclipse and Android Studio (Programming)
- Linux environment variables inside (Linux)
- Several back door and log tool under Linux (Linux)
- Linux log management make the system more secure (Linux)
- Puppet 3.5 Source package Installation and Configuration (Server)
- Running the open-source Swift under Linux platform (Linux)
- MongoDB Installation under CentOS 6.6 (Database)
- Oracle 10046 Event (Database)
- C language binary tree (Programming)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.