Enable them:
Turn on these three using chkconfig on both the nodes: rexec, rsh and rlogin.
# chkconfig rexec on
# chkconfig rsh on
# chkconfig rlogin on
xinetd
Restart xinetd to be sure.
# service xinetd restart
.rhosts
On hostA's root home directory (usually /root), create a .rhosts file, which has hostB in it.
# cat .rhosts
hostB
Similarly, create a .rhosts on hostB's root home directory which has hostA in it.
# cat .rhosts
hostA
hosts.allow
Now, edit /etc/hosts.allow on hostA:
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
ALL : hostB
Edit /etc/hosts.allow on hostB:
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
ALL : hostA
hosts.equiv
Edit /etc/hosts.equiv on hostA to have
# cat /etc/hosts.equiv
hostB
Edit /etc/hosts.equiv on hostB to have
# cat /etc/hosts.equiv
hostA
/etc/securetty
And finally, knock off /etc/securetty (rename it or worse, purge it) on both hostA and hostB
Now you are good to go.
Disclaimer: Use at your own risk. Don't flame me. It sure worked for me. Actual results may vary. Use ssh in place of rlogin/rsh/telnet and the like, as ssh is more secure.
How to turn on rsh and rlogin on RedHat Enterprise Linux (RHEL 2.1/ 3.0)
By omp on Wednesday, April 18, 2007
Popular Posts
-
Here are some useful links about Indian laws, courts, legal system and various departments of Government of India. Man...
-
Network-Attached Storage 1. Introduction 2. What is a NAS Device? 3. What is a Filer? 4. Network-Attached Storage Versus Sto...
-
The Basics. Network Storage - The Basics Are you new to network storage? If so then this series of articles is for you! Over the next few...
-
Save a lot of typing with these handy bash features you won't find in an old-fashioned UNIX shell. bash, or the Bourne again shell, ...
-
Linux admin interview questions How do you take a single line of input from the user in a shell script? Write a script to convert all DO...
-
* Determine the IPv4 addresses that you want to use for the additional interfaces. * Ensure that the physical interface to be configured has...
-
UNIX Questions and Answers Most answers refer to Solaris 2.x systems Hardware Issues How can I configure new devices without rebooting? What...
-
Tried Gusty Gibbon Ubuntu 6.10 on Compaq f733AU works fine without any major problems. some tweaking required in udev/rules/70-persistent-ne...
-
write 6 random bits of base64-encoded data. This will produce an eight character string making a good unix (crypt based) password: $ openssl...
-
Bryce Harrington and Kees Cook have come together to write this informative article titled ' Managing Disk Space with LVM ' which ...
0 comments:
Post a Comment