|
Oracle Home |
|
Home > Linux/ Unix > Using the Remote Shell Method (on Red Hat Linux) |
|
UNIX & Linux tutorials |
|---|
Using the Remote Shell Method (on Red Hat Linux) |
|
a) let's see if the rsh RPMs are installed:
[root@MW ~]#
rpm -q rsh rsh-server b) enable rsh (also rlogin)
Modify /etc/xinetd.d/rsh in order to have disable = no :
[root@MW ~]#
more /etc/xinetd.d/rsh service shell c) reload the configuration for xinetd :
# chkconfig rsh on # chkconfig rlogin on (if needed) # service xinetd reload
2. Disable Kerberos version of rsh (on RH Linux)
By default RHL use the Kerberos version of rsh.
[root@DB ~]#
which rsh
3. Allow a connection to the remote host without prompting for a password
Supposing from the HOST MW (connected as mw ) we have to connect as oracle on the HOST APPS.
The /etc/hosts.equiv and ~/.rhosts files list hosts and users that are trusted by the local host when a connection is made using the rshd service. If the connection is trusted we don't need a password for this connection.
So, on /etc/hosts.equiv (on the APPS host name) we have to add: +mw
mw That means: From the host named MW, the user mw can connect to the APPS server (as trusted user; as oracle, etc).
If in the ~/.rhosts (for the oracle user, on the APPS server) we have +mw user1
that means only the user user1 from the host named mw can connect as oracle on the APPS server (as trusted user).
More information about this subject ( Using the Remote Shell Method (on Red Hat Linux) ) you can get from www.in-oracle.com
|
|
Home > Linux/ Unix > Using the Remote Shell Method (on Red Hat Linux) |
|
Different Romanian Links/ Linkuri romanesti diferite |
Disclaimer: The views expressed on this web site are my own and do not reflect the views of Oracle Corporation. You may use the information from this site only at your risk. Copyright (c) 2009-2011 Paul Catalin Tomoiu. All rights reserved.