Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ CentOS6 installation configuration rsh     - Configuring Haproxy log support (syslog logging support) (Server)

- Java eight new features 8 (Programming)

- To repair Shell script by default open in Ubuntu (Linux)

- Upgrading to Debian 7.6 glibc 2.15 (Linux)

- Java in the final qualifier (Programming)

- awk variables (Linux)

- Ubuntu batch scp to copy files without password (Linux)

- The ORA-01113 error is handled with BBED without archiving (Database)

- Ubuntu security settings and tools (Linux)

- Linux SVN installation and configuration graphic tutorials (Server)

- Spring JDBC Comments (Programming)

- jQuery get value drop-down list and select text (Programming)

- Ubuntu 14.04 compile, install, configure, the latest development version GoldenDict (Linux)

- Depth understanding of C language (Programming)

- Vagrant Getting Start (Linux)

- Linux system security reinforcement system by masquerading method (Linux)

- Android Custom View password box example (Programming)

- How to test your MongoDB application upgrade? (Database)

- ASP.NET 5 (vNext) Linux deployment (Server)

- Use OpenSSL carried BASE64 encoding and decoding (Linux)

 
         
  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:      
 
- Gentoo: !!! existing preserved libs problem (Linux)
- Linux System Getting Started Learning: Linux common log file (Linux)
- Red Hat Enterprise Linux Server 6.5 installation GCC 4.9.2 (Linux)
- Java MD5 encryption implementation (Programming)
- Ubuntu 14.04 running ASP.NET Configuration Mono + Jexus (Server)
- Oracle 11g dataguard main library backup and recovery to the test environment in one database error (Database)
- HomeKit User Interface Guidelines (Linux)
- Migu online music player for Linux (Linux)
- High-performance JavaScript loaded and executed (Programming)
- Python context managers (Programming)
- Based on Google Cloud Storage Mirroring open Maven Central Repository (Server)
- Linux System Administrator Network Security Experience (Linux)
- Qt signals and slots mechanism (Programming)
- How to create SWAP files in Ubuntu 14.04 (Linux)
- Linux Network Programming - raw socket instance: MAC Address Scanner (Programming)
- Installed FFmpeg 2.6.3 on Ubuntu / Debian / Fedora system (Linux)
- Ubuntu users to install Xtreme Download Manager (Linux)
- Detailed Linux platform chip programming process (Programming)
- How to install and use the malware detection tool LMD and ClamAV antivirus engine on Linux (Linux)
- Linux system monitoring, top command of the diagnostic tool Detailed (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.