Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ CentOS6 installation configuration rsh     - Linux operating tips: Can not open file for writing or operation not permitted solution (Linux)

- Build and verify MongoDB3.0.7 version (shard + replica) Cluster (Database)

- Unity Greeter Badges: the lost session icon back to the login screen Ubuntu (Linux)

- Java memory mechanism Description (Programming)

- How to extend / remove swap partitions (Linux)

- How to clean up your Ubuntu 14.10 / 14.04 / 13.10 system (Linux)

- Java Class file format parsing (Programming)

- Linux monitoring tools introduced series --smem (Server)

- How to build a custom exclusive Ubuntu Live CD (Linux)

- Oracle10g 64-bit installation solution in Windows 2008 Server R2 (Database)

- ARM runtime environment built from scratch using QEMU emulator (Linux)

- SSH Filesystem use a secure connection for network file system (Linux)

- 10 Best Swift Tutorial examples (Programming)

- Workspace Go language and environment variables GOPATH (Linux)

- PHP with FastCGI and mod_php Comments (Server)

- How to install Perl modules from CPAN (Linux)

- ARP Linux-related operations (Linux)

- Nginx Load Balancing (standby) + Keepalived (Server)

- Common Linux system performance monitoring command (Linux)

- CentOS6 installed Tomcat (Server)

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

CentOS6 installation configuration rsh

General Information:
a node:
ip: 192.168.8.166
hostname: hadrtest01
two nodes:
ip: 192.168.8.250
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 "

rexec

rsh

rlogin

"> > / etc / securetty


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

[root @ hadrtest01 ~] # cat / etc / hosts

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4

:: 1 localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.8.166 hadrtest01

192.168.8.250 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
reboot:

service xinetd restart

boot:

chkconfig xinetd on

8, a test
node:

[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

     
         
         
         
  More:      
 
- CentOS7 install MySQL5.6.22 (Linux)
- SME Linux network security policy server security (Linux)
- Ubuntu system cp: omitting directory problem (Linux)
- Summary Linux bond of multi-interface load balancing (Linux)
- Ubuntu buffalo wzr-hp-300nh brush DD-WRT router system (Linux)
- Linux using DenyHosts prevents ssh cracks (Linux)
- Oracle PL / SQL based cursor (Database)
- Oracle query start with connect by tree (Database)
- Spark SQL job of a lifetime (Server)
- Linux memory Cache Analysis (Linux)
- Go build the locale under Windows (Linux)
- ssh port forwarding Comments (Server)
- Android Studio Clear Project or Rebuild Project Error (Linux)
- Fedora 23 How to install LAMP server (Server)
- Firewall types and instructions (Linux)
- systemd Power Management (Linux)
- Ubuntu users install the video driver Nvidia Driver 334.21 (Linux)
- CentOS How quickly customize kernel binary RPM package (Linux)
- Android Send HTTP POST requests (Programming)
- Linux security-related basics (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.