HP-UX Remote Access Services Administrator's Guide

Table 1-1 R-Commands (continued)
DescriptionR-Commands
Copies files remotely.
rcp
Invokes the remote file distribution program.
rdist
Shows status of local machines.
ruptime
Shows who is logged in to a local machine.
rwho
Invokes the system status server.
rwhod
A description of all the r-commands is provided in the subsequent sections.
The rlogin Command
The rlogin command connects the terminal on the local host to the remote host
(rhost) and acts as a virtual terminal to the remote system. The host name rhost can
either be the official name or an alias as listed in the /etc/hosts file.
The syntax for the rlogin command is as follows:
rlogin rhost [-7] [-8] [-ee] [-1 username] ..... rhost [-7]
[-8] [-ee] [-1 username]
In a Kerberos V5 network authentication environment, the syntax for the rlogin
command is as follows:
rlogin rhost [-7] [-8] [-ee] [-f -F] [-k realm]
[-1 username] [-P] ..... rhost [-7] [-8] [-ee]
[-1 username][-7] [-8] [-ee] [-1 username]
If rlogin is unable to read from or write to the socket connection on the remote host,
the following message is displayed on the standard error and rlogin exits:
Connection closed
Non-Secure Environment Authentication
In a non-secure, or traditional, environment, rlogin allows a user to log in to an
equivalent remote host, rhost, using the normal login and password sequence, similar
to the remsh command. For more information on equivalent hosts and how to specify
them in the /etc/hosts.equiv and .rhosts files, type man 4 hosts.equiv at
the HP-UX prompt.
When you log in to a remote system, and if you have a user account equivalent to the
remote account, you are prompted for the password of the remote account. If the login
fails, a login name and password is prompted, similar to a login command.
18 Remote Access Services Overview