Modifying The .Rhosts File On Solaris - Symantec XGS-4728F Installation Manual

Aix, hp-ux, linux, solaris 5.0
Table of Contents

Advertisement

30 Getting ready to install VCS One
Configuring ssh, rsh, or remsh before installing
If the service is enabled, the following line is displayed:
enabled online svc:/network/login:rlogin
If the service is disabled, the following line is displayed:
disabled disabled svc:/network/login:rlogin
On Solaris 9, enter the following:
cat /etc/inet/inetd.conf | grep rsh
The inetadm command does not work on Solaris 9.
If the service is enabled, the following information is displayed:
RSHD - rsh daemon (BSD protocols)
shell stream
tcp
shell stream
tcp6
2
Enable and disable rsh/rlogin. Do one of the following:
On Solaris 10, do one of the following:
To enable rsh/rlogin, enter the following:
inetadm -e rlogin
To disable rsh/rlogin, enter the following:
inetadm -d rlogin
On Solaris 9:
To enable rsh/rlogin, add the following line to /etc/inet/inetd.conf:
login stream
tcp6
shell stream
tcp
shell stream
tcp6
To disable rsh/rlogin, delete the above line.
Restart inetd. Enter the following:
/usr/bin/pkill -HUP inetd
3
Verify that rsh is set up correctly. Enter the following:
exec /usr/bin/rsh system_name "LANG=C echo Symantec 2>&1" 2>&1
Symantec
The command should return "Symantec." If it does not, there is an issue
with rsh-setup.

Modifying the .rhosts file on Solaris

A separate .rhosts file is in the $HOME directory of each user. You must modify
the .rhosts file for each user who remotely accesses the system using rsh.
Make sure that each line of the .rhosts file contains a fully-qualified domain
name or IP address for each remote system having access to the local system.
For example, if the root user must remotely access system1 from system2, you
must add an entry for system2.companyname.com in the .rhosts file on
system1.
nowait
root
/usr/sbin/in.rshd
nowait
root
/usr/sbin/in.rshd
nowait
root
/usr/sbin/in.rlogind
nowait
root
/usr/sbin/in.rshd
nowait
root
/usr/sbin/in.rshd
in.rshd
in.rshd
in.rlogind
in.rshd
in.rshd

Advertisement

Table of Contents
loading

This manual is also suitable for:

Veritas cluster server oneVcs one

Table of Contents