up | Inhaltsverzeichniss | Kommentar

Manual page for RSHD(8C)

rshd, in.rshd - remote shell server


/usr/etc/in.rshd host.port


rshd is the server for the rcmd.3n routine and, consequently, for the rsh.1c program. The server provides remote execution facilities with authentication based on privileged port numbers.

rshd is invoked by inetd.8c each time a shell service is requested, and executes the following protocol:




rsh.1c rcmd.3n syslogd.8


The authentication procedure used here assumes the integrity of each client machine and the connecting medium. This is insecure, but is useful in an ``open'' environment.

A facility to allow all data exchanges to be encrypted should be present.


The following diagnostic messages are returned on the connection associated with the stderr, after which any network connections are closed. An error is indicated by a leading byte with a value of 1 (0 is returned in step 9 above upon successful completion of all the steps prior to the command execution).

locuser too long
The name of the user on the client's machine is longer than 16 characters.
remuser too long
The name of the user on the remote machine is longer than 16 characters.
command too long
The command line passed exceeds the size of the argument list (as configured into the system).
Hostname for your address unknown.
No entry in the host name database existed for the client's machine.
Login incorrect.
No password file entry for the user name existed.
Permission denied.
The authentication procedure described above failed.
Can't make pipe.
The pipe needed for the stderr, was not created.
Try again.
A fork by the server failed.
/usr/bin/sh: ...
The user's login shell could not be started.

In addition, daemon's status messages and internal diagnostics are logged to the appropriate system log using the syslogd.8 facility.

index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).

Last modified 21/April/97