diff options
Diffstat (limited to 'libexec/rshd/rshd.8')
-rw-r--r-- | libexec/rshd/rshd.8 | 35 |
1 files changed, 30 insertions, 5 deletions
diff --git a/libexec/rshd/rshd.8 b/libexec/rshd/rshd.8 index 82e1991..1f2ae32 100644 --- a/libexec/rshd/rshd.8 +++ b/libexec/rshd/rshd.8 @@ -30,6 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)rshd.8 8.1 (Berkeley) 6/4/93 +.\" $Id: rshd.8,v 1.8 1997/04/23 03:06:47 davidn Exp $ .\" .Dd June 4, 1993 .Dt RSHD 8 @@ -106,7 +107,7 @@ machine. A null terminated user name of at most 16 characters is retrieved on the initial socket. This user name is interpreted as a user identity to use on the -.Sy server Ns 's +.Em server Ns 's machine. .It A null terminated command to be passed to a @@ -132,6 +133,12 @@ If the file .Pa /etc/nologin exists and the user is not the superuser, the connection is closed. +The name of the nologin file may be overridden +using the nologin= capability in login.conf +according to the local user's login class, +which may also be used to restrict rsh access by +login time (times.allow and times.deny capabilities) +and remote host (hosts.allow and hosts.deny capabilities). .It A null byte is returned on the initial socket and the command line is passed to the normal login @@ -173,13 +180,15 @@ longer than 16 characters. The command line passed exceeds the size of the argument list (as configured into the system). .It Sy Login incorrect. -No password file entry for the user name existed. +No password file entry for the user name existed +or the authentication procedure described above failed. .It Sy Remote directory. The .Xr chdir command to the home directory failed. -.It Sy Permission denied. -The authentication procedure described above failed. +.It Sy Logins not available right now. +Rsh was attempted outside the allowed hours defined in +login.conf for the local user's login class. .It Sy Can't make pipe. The pipe needed for the .Em stderr , @@ -195,9 +204,25 @@ on the connection associated with the and is not preceded by a flag byte. .El .Sh SEE ALSO +.Xr rlogin 1 , .Xr rsh 1 , +.Xr gethostbyaddr 3 , .Xr rcmd 3 , -.Xr ruserok 3 +.Xr ruserok 3 , +.Xr hosts 5 , +.Xr login.conf 5 , +.Xr nologin 5 , +.Xr services 5 , +.Xr named 8 , +.Xr rlogind 8 , +.Xr syslogd 8 . +.Sh FILES +.Bl -tag -width /etc/hosts -compact +.It Pa /etc/hosts +.It Pa /etc/hosts.equiv +.It Pa $HOME/.rhosts +.It Pa /etc/nologin +.El .Sh BUGS The authentication procedure used here assumes the integrity of each client machine and the connecting medium. This is |