rshd.8 (98885) | rshd.8 (99500) |
---|---|
1.\" Copyright (c) 1983, 1989, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)rshd.8 8.1 (Berkeley) 6/4/93 | 1.\" Copyright (c) 1983, 1989, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)rshd.8 8.1 (Berkeley) 6/4/93 |
33.\" $FreeBSD: head/libexec/rshd/rshd.8 98885 2002-06-26 17:09:08Z markm $ | 33.\" $FreeBSD: head/libexec/rshd/rshd.8 99500 2002-07-06 19:19:48Z charnier $ |
34.\" 35.Dd June 4, 1993 36.Dt RSHD 8 37.Os 38.Sh NAME 39.Nm rshd 40.Nd remote shell server 41.Sh SYNOPSIS 42.Nm 43.Op Fl \&?DLaln 44.Sh DESCRIPTION 45The 46.Nm | 34.\" 35.Dd June 4, 1993 36.Dt RSHD 8 37.Os 38.Sh NAME 39.Nm rshd 40.Nd remote shell server 41.Sh SYNOPSIS 42.Nm 43.Op Fl \&?DLaln 44.Sh DESCRIPTION 45The 46.Nm |
47server | 47utility |
48is the server for the 49.Xr rcmd 3 50routine and, consequently, for the 51.Xr rsh 1 52program. The server provides remote execution facilities 53with authentication based on privileged port numbers from trusted hosts. 54.Pp 55The 56.Nm | 48is the server for the 49.Xr rcmd 3 50routine and, consequently, for the 51.Xr rsh 1 52program. The server provides remote execution facilities 53with authentication based on privileged port numbers from trusted hosts. 54.Pp 55The 56.Nm |
57server 58listens for service requests at the port indicated in | 57utility listens for service requests at the port indicated in |
59the 60.Dq cmd 61service specification; see 62.Xr services 5 . 63When a service request is received the following protocol 64is initiated: 65.Bl -enum 66.It --- 39 unchanged lines hidden (view full) --- 106.Em server Ns 's 107machine. 108.It 109A null terminated command to be passed to a 110shell is retrieved on the initial socket. The length of 111the command is limited by the upper bound on the size of 112the system's argument list. 113.It | 58the 59.Dq cmd 60service specification; see 61.Xr services 5 . 62When a service request is received the following protocol 63is initiated: 64.Bl -enum 65.It --- 39 unchanged lines hidden (view full) --- 105.Em server Ns 's 106machine. 107.It 108A null terminated command to be passed to a 109shell is retrieved on the initial socket. The length of 110the command is limited by the upper bound on the size of 111the system's argument list. 112.It |
114.Nm Rshd 115then validates the user using | 113The 114.Nm 115utility then validates the user using |
116.Xr ruserok 3 , 117which uses the file 118.Pa /etc/hosts.equiv 119and the 120.Pa .rhosts 121file found in the user's home directory. The 122.Fl l 123option prevents --- 128 unchanged lines hidden --- | 116.Xr ruserok 3 , 117which uses the file 118.Pa /etc/hosts.equiv 119and the 120.Pa .rhosts 121file found in the user's home directory. The 122.Fl l 123option prevents --- 128 unchanged lines hidden --- |