HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
r
rlogin(1) rlogin(1)
eˆY Suspend the rlogin session and return the user to the shell that invoked
rlogin. The rlo-
gin
job can be resumed with the fg
command (see csh(1), ksh(1), and sh-posix(1)). eˆY
suspends only the input process; output from the remote login continues to be displayed.
If you "daisy-chain" remote logins (for example, you
rlogin from host A to host B and then
rlogin from
host B to host C) without setting unique escape characters, you can repeat the escape character until it
reaches your chosen destination. For example, the first escape character, e, is seen as an escape character
on host A; the second e is passed as a normal character by host A and seen as an escape character on host
B; a third e is passed as a normal character by hosts A and B and accepted as a normal character by host C.
Remote Host Name As Command
The system administrator can arrange for more convenient access to a remote host (rhost) by linking
remsh to /usr/hosts/ rhost, allowing use of the remote host name (rhost) as a command (see
remsh(1)). For example, if
remotehost
is the name of a remote host and /usr/hosts/remotehost
is linked to remsh, and if /usr/hosts
is in your search path, the command:
remotehost
is equivalent to:
rlogin remotehost
RETURN VALUES
rlogin sends an error message to standard error and returns a nonzero value if an error occurs before
the connection to the remote host is completed. Otherwise, it returns a zero.
DIAGNOSTICS
Diagnostics can occur from both the local and remote hosts. Those diagnostics that occur on the local host
before the connection is completely established are written to standard error. Once the connection is esta-
blished, any error messages from the remote host are written to standard output, like any other data.
Error! could not retrieve authentication type.
Please notify sys admin.
There are two authentication mechanisms used by
rlogin. One authentication mechanism is based
on Kerberos and the other is not. The type of authentication mechanism is obtained from a system
file which is updated by
inetsvcs_sec (see inetsvcs_sec(1M)). If the system file does not contain
known authentication types, the above error is displayed.
login/tcp: Unknown service
rlogin
was unable to find the login service listed in the /etc/services
database file.
There is no entry for you (user ID username) in /etc/passwd
rlogin
was unable to find your user ID in the password file.
Next Step: Contact your system administrator.
system call:...
An error occurred when rlogin attempted the indicated system call. See the appropriate manual
entry for information about the error.
Kerberos is not supported in IPv6. Ignoring kerberos authentication
On a IPv6 enabled system, if Kerberos based authentication mechanism is set, the above error is
displayed and the user authorization is done in a non-secure or traditional environment.
EXAMPLES
Log in as the same user on the remote host remote:
rlogin remote
Set the escape character to a !, use a seven-bit data connection, and attempt a login as user guest on
host remhost:
rlogin remhost -e! -7 -l guest
Assuming that your system administrator has set up the links in /usr/hosts , the following is equivalent
to the previous command:
Section 1−−836 Hewlett-Packard Company − 3 − HP-UX 11i Version 1: September 2005