HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)

r
remsh(1)
Kerberos remsh(1)
DIAGNOSTICS
Besides the errors listed below, errors can also be generated by the library functions
rcmd() and
rresvport() which are used by remsh (see rcmd(3N)). Those errors are preceded by the name of the
library function that generated them.
remsh can produce the following diagnostic messages:
Error! could not retrieve authentication type.
Please notify sys admin.
There are two authentication mechanisms used by
remsh. 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.
rlogin: ...
Error in executing rlogin (rlogin is executed when the user does not specify any com-
mands to be executed). This is followed by the error message specifying why the execution
failed.
shell/tcp: Unknown service
The ‘‘shell’’ service specification is not present in the /etc/services
file.
Can’t establish stderr
remsh
cannot establish secondary socket connection for stderr.
<system call>: ...
Error in executing system call. Appended to this error is a message specifying the cause of the
failure.
There is no entry for you (user ID uid) in /etc/passwd
Check with the system administrator to see if your entry in the password file has been deleted by
mistake.
rcmd: connect: <hostname>: Connection refused
One cause for display of this generic error message could be due to the absence of an entry for
shell in /etc/inetd.conf
on the remote system. This entry may have been removed or
commented out to prevent non-secure access.
Kerberos-specific errors are listed in sis(5).
WARNINGS
For security reasons, the
/etc/hosts.equiv
and .rhosts files should exist, even if empty, and
should be readable and writable only by the owner.
If
remsh is run with an interactive command it hangs.
DEPENDENCIES
remsh is the same service as rsh on BSD systems. The name was changed due to a conflict with the
existing System V command rsh (restricted shell).
AUTHOR
remsh was developed by the University of California, Berkeley.
FILES
/usr/hosts/* for version of the command invoked only with hostname
SEE ALSO
rlogin(1), remshd(1M), rexecd(1M), inetsvcs_sec(1M), gethostent(3N), rcmd(3N), rexec(3N), hosts.equiv(4),
hosts(4), sis(5).
HP-UX 11i Version 1: September 2005 3 Hewlett-Packard Company Section 1827