1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00

The .Nm utility

This commit is contained in:
Philippe Charnier 2002-07-06 19:19:48 +00:00
parent 4690560d06
commit 3f162cb85d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99500
26 changed files with 195 additions and 130 deletions

View File

@ -26,11 +26,14 @@
.Op Fl d Ar level .Op Fl d Ar level
.Ar server .Ar server
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Bootpd The
.Nm
utility
implements an Internet Bootstrap Protocol (BOOTP) server as defined in implements an Internet Bootstrap Protocol (BOOTP) server as defined in
RFC951, RFC1532, and RFC1533. RFC951, RFC1532, and RFC1533.
.Nm Bootpgw The
implements a simple BOOTP gateway which can be used to forward .Nm bootpgw
utility implements a simple BOOTP gateway which can be used to forward
requests and responses between clients on one subnet and a requests and responses between clients on one subnet and a
BOOTP server (i.e.\& BOOTP server (i.e.\&
.Nm ) .Nm )

View File

@ -16,8 +16,9 @@
.Op Ar client\-name ... .Op Ar client\-name ...
.Ek .Ek
.Sh DESCRIPTION .Sh DESCRIPTION
The
.Nm .Nm
builds the utility builds the
.Em "Extension Path" .Em "Extension Path"
files described by files described by
.%T "RFC 1497" .%T "RFC 1497"

View File

@ -15,8 +15,9 @@
.Ar server\-name .Ar server\-name
.Op Ar template\-file .Op Ar template\-file
.Sh DESCRIPTION .Sh DESCRIPTION
The
.Nm .Nm
sends BOOTP requests to the host specified as utility sends BOOTP requests to the host specified as
.Ar server\-name .Ar server\-name
at one\-second intervals until either a response is received, at one\-second intervals until either a response is received,
or until ten requests have gone unanswered. or until ten requests have gone unanswered.
@ -47,7 +48,7 @@ area of the request packet.
.Sh AUTHORS .Sh AUTHORS
The The
.Nm .Nm
program is a combination of original and derived works. utility is a combination of original and derived works.
The main program module The main program module
.Pq Pa bootptest.c .Pq Pa bootptest.c
is original work by is original work by

View File

@ -41,11 +41,13 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Comsat The
is the server process which receives reports of incoming mail .Nm
utility is the server process which receives reports of incoming mail
and notifies users if they have requested this service. and notifies users if they have requested this service.
.Nm Comsat The
receives messages on a datagram port associated with the .Nm
utility receives messages on a datagram port associated with the
.Dq biff .Dq biff
service service
specification (see specification (see
@ -97,5 +99,5 @@ does not mess up the screen.
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
command appeared in utility appeared in
.Bx 4.2 . .Bx 4.2 .

View File

@ -44,8 +44,9 @@
.Op Fl l .Op Fl l
.Op Fl p Ar filename .Op Fl p Ar filename
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Fingerd The
is a simple protocol based on .Nm
utility is a simple protocol based on
.%T RFC1196 .%T RFC1196
that provides an interface to the that provides an interface to the
Name and Finger programs at several network sites. Name and Finger programs at several network sites.
@ -56,8 +57,9 @@ There is no required format and the
protocol consists mostly of specifying a single protocol consists mostly of specifying a single
.Dq command line . .Dq command line .
.Pp .Pp
.Nm Fingerd The
is started by .Nm
utility is started by
.Xr inetd 8 , .Xr inetd 8 ,
which listens for which listens for
.Tn TCP .Tn TCP
@ -67,13 +69,14 @@ terminated by a
.Aq Tn CRLF .Aq Tn CRLF
which is passed to which is passed to
.Xr finger 1 . .Xr finger 1 .
.Nm Fingerd The
closes its connections as soon as the output is finished. .Nm
utility closes its connections as soon as the output is finished.
.Pp .Pp
If the line is null (i.e. just a If the line is null (i.e. just a
.Aq Tn CRLF .Aq Tn CRLF
is sent) then is sent) then
.Xr finger .Xr finger 1
returns a returns a
.Dq default .Dq default
report that lists all people logged into report that lists all people logged into
@ -136,8 +139,9 @@ or an equally narrow-minded
user program can result user program can result
in meaningless attempts at option negotiation being sent to the in meaningless attempts at option negotiation being sent to the
server, which will foul up the command line interpretation. server, which will foul up the command line interpretation.
.Nm Fingerd The
should be taught to filter out .Nm
utility should be taught to filter out
.Tn IAC Ns \'s .Tn IAC Ns \'s
and perhaps even respond and perhaps even respond
negatively negatively
@ -146,5 +150,5 @@ to all option commands received.
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
command appeared in utility appeared in
.Bx 4.3 . .Bx 4.3 .

View File

@ -47,8 +47,9 @@
.Op Fl p Ar file .Op Fl p Ar file
.Op Fl t Ar timeout .Op Fl t Ar timeout
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Ftpd The
is the .Nm
utility is the
Internet File Transfer Protocol Internet File Transfer Protocol
server process. The server uses the server process. The server uses the
.Tn TCP .Tn TCP
@ -281,16 +282,18 @@ STAT
command is received during a data transfer, preceded by a Telnet IP command is received during a data transfer, preceded by a Telnet IP
and Synch, transfer status will be returned. and Synch, transfer status will be returned.
.Pp .Pp
.Nm Ftpd The
interprets file names according to the .Nm
utility interprets file names according to the
.Dq globbing .Dq globbing
conventions used by conventions used by
.Xr csh 1 . .Xr csh 1 .
This allows users to utilize the metacharacters This allows users to utilize the metacharacters
.Dq Li \&*?[]{}~ . .Dq Li \&*?[]{}~ .
.Pp .Pp
.Nm Ftpd The
authenticates users according to six rules. .Nm
utility authenticates users according to six rules.
.Pp .Pp
.Bl -enum -offset indent .Bl -enum -offset indent
.It .It
@ -383,7 +386,7 @@ The files pwd.db (see
and and
.Xr group 5 .Xr group 5
must be present for the must be present for the
.Xr ls .Xr ls 1
command to be able to produce owner names rather than numbers. command to be able to produce owner names rather than numbers.
The password field in The password field in
.Xr passwd .Xr passwd
@ -452,8 +455,9 @@ value is to be used.
As with any anonymous login configuration, due care must be given As with any anonymous login configuration, due care must be given
to setup and maintenance to guard against security related problems. to setup and maintenance to guard against security related problems.
.Pp .Pp
The
.Nm .Nm
has internal support for handling remote requests to list utility has internal support for handling remote requests to list
files, and will not execute files, and will not execute
.Pa /bin/ls .Pa /bin/ls
in either a chrooted or non-chrooted environment. The in either a chrooted or non-chrooted environment. The
@ -495,6 +499,6 @@ scrutinized, but are possibly incomplete.
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
command appeared in utility appeared in
.Bx 4.2 . .Bx 4.2 .
IPv6 support was added in WIDE Hydrangea IPv6 stack kit. IPv6 support was added in WIDE Hydrangea IPv6 stack kit.

View File

@ -47,8 +47,7 @@
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm
program utility is called by
is called by
.Xr init 8 .Xr init 8
to open and initialize the tty line, read a login name, and invoke to open and initialize the tty line, read a login name, and invoke
.Xr login 1 . .Xr login 1 .
@ -92,8 +91,7 @@ table.
.Pp .Pp
The The
.Nm .Nm
program utility can be set to timeout after some interval,
can be set to timeout after some interval,
which will cause dial up lines to hang up which will cause dial up lines to hang up
if the login name is not entered reasonably quickly. if the login name is not entered reasonably quickly.
.Sh DIAGNOSTICS .Sh DIAGNOSTICS
@ -126,5 +124,5 @@ does not exist.
.Sh HISTORY .Sh HISTORY
A A
.Nm .Nm
program appeared in utility appeared in
.At v6 . .At v6 .

View File

@ -41,8 +41,9 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Makekey The
encrypts a key and salt which it reads from the standard input .Nm
utility encrypts a key and salt which it reads from the standard input
and writes the result to the standard output. and writes the result to the standard output.
The key is expected to be The key is expected to be
eight bytes; the salt is expected to be two bytes. eight bytes; the salt is expected to be two bytes.
@ -57,5 +58,5 @@ and how the encrypted value is calculated.
.Sh HISTORY .Sh HISTORY
A A
.Nm .Nm
command appeared in utility appeared in
.At v7 . .At v7 .

View File

@ -45,8 +45,9 @@
.Op Fl n Ar netid_file .Op Fl n Ar netid_file
.Op Fl d Ar domain .Op Fl d Ar domain
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Mknetid The
processes the contents of the .Nm
utility processes the contents of the
.Xr group 5 , .Xr group 5 ,
.Xr passwd 5 , .Xr passwd 5 ,
.Xr hosts 5 .Xr hosts 5
@ -61,12 +62,12 @@ and hosts in a operating system independent format.
.Pp .Pp
The The
.Nm .Nm
command checks for duplicate occurrences of netids and filters utility checks for duplicate occurrences of netids and filters
them out. them out.
.Pp .Pp
The The
.Nm .Nm
command prints its results on the standard output. utility prints its results on the standard output.
It is usually called It is usually called
only by only by
.Pa /var/yp/Makefile .Pa /var/yp/Makefile
@ -76,7 +77,7 @@ maps.
.Sh OPTIONS .Sh OPTIONS
The The
.Nm .Nm
command supports the following options: utility supports the following options:
.Bl -tag -width indent .Bl -tag -width indent
.It Fl q .It Fl q
Normally, Normally,
@ -115,7 +116,7 @@ support is added to
.It Fl d Ar domain .It Fl d Ar domain
By default, the By default, the
.Nm .Nm
command uses the system domainname when generating netid records. utility uses the system domainname when generating netid records.
If If
the system domainname is not set, the domain must be specified on the the system domainname is not set, the domain must be specified on the
command line with the command line with the

View File

@ -43,7 +43,7 @@
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm
program listens to the given utility listens to the given
.Ar interface .Ar interface
for PPP over Ethernet (PPPoE) service request packets, and actions them for PPP over Ethernet (PPPoE) service request packets, and actions them
by negotiating a session then invoking a by negotiating a session then invoking a
@ -56,7 +56,9 @@ See
.Xr ng_pppoe 4 .Xr ng_pppoe 4
for details. for details.
.Pp .Pp
The
.Nm .Nm
utility
will only offer services to clients requesting services from the given will only offer services to clients requesting services from the given
.Ar provider , .Ar provider ,
which is taken as an empty name if not provided. which is taken as an empty name if not provided.
@ -211,7 +213,7 @@ This may change in the future.
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
program was written by utility was written by
.An Brian Somers Aq brian@Awfulhak.org .An Brian Somers Aq brian@Awfulhak.org
and first appeared in and first appeared in
.Fx 3.4 . .Fx 3.4 .

View File

@ -112,8 +112,9 @@ Here is a sample configuration file:
.It "8::9:1:C6:75 SYSHPBSD,SYSHPUX # jaguar (either) .It "8::9:1:C6:75 SYSHPBSD,SYSHPUX # jaguar (either)
.El .El
.Pp .Pp
.Nm Rbootd The
logs status and error messages via .Nm
utility logs status and error messages via
.Xr syslog 3 . .Xr syslog 3 .
A startup message is always logged, and in the case of fatal errors (or A startup message is always logged, and in the case of fatal errors (or
deadly signals) a message is logged announcing the server's termination. deadly signals) a message is logged announcing the server's termination.

View File

@ -44,8 +44,9 @@
.Fl h .Fl h
.Op Fl f Ar netgroup_file .Op Fl f Ar netgroup_file
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Revnetgroup The
processes the contents of a file in .Nm
utility processes the contents of a file in
.Xr netgroup 5 .Xr netgroup 5
format into what is called format into what is called
.Pa reverse netgroup .Pa reverse netgroup
@ -88,7 +89,7 @@ to process very large netgroup databases.
.Pp .Pp
The The
.Nm .Nm
command prints its results on the standard output. It is usually called utility prints its results on the standard output. It is usually called
only by only by
.Pa /var/yp/Makefile .Pa /var/yp/Makefile
when rebuilding the when rebuilding the
@ -97,7 +98,7 @@ netgroup maps.
.Sh OPTIONS .Sh OPTIONS
The The
.Nm .Nm
command supports the following options: utility supports the following options:
.Bl -tag -width indent .Bl -tag -width indent
.It Fl u .It Fl u
Generate Generate
@ -116,7 +117,7 @@ flags must be specified.)
.It Op Fl f Ar netgroup_file .It Op Fl f Ar netgroup_file
The The
.Nm .Nm
command uses utility uses
.Pa /etc/netgroup .Pa /etc/netgroup
as its default input file. The as its default input file. The
.Fl f .Fl f

View File

@ -42,15 +42,17 @@
.Nm .Nm
.Op Fl i .Op Fl i
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Rexecd The
is the server for the .Nm
utility is the server for the
.Xr rexec 3 .Xr rexec 3
routine. The server provides remote execution facilities routine. The server provides remote execution facilities
with authentication based on user names and with authentication based on user names and
passwords. passwords.
.Pp .Pp
.Nm Rexecd The
listens for service requests at the port indicated in .Nm
utility listens for service requests at the port indicated in
the ``exec'' service specification; see the ``exec'' service specification; see
.Xr services 5 . .Xr services 5 .
When a service request is received the following protocol When a service request is received the following protocol
@ -83,8 +85,9 @@ shell is retrieved on the initial socket. The length of
the command is limited by the upper bound on the size of the command is limited by the upper bound on the size of
the system's argument list. the system's argument list.
.It .It
.Nm Rexecd The
then validates the user as is done at login time .Nm
utility then validates the user as is done at login time
and, if the authentication was successful, changes and, if the authentication was successful, changes
to the user's home directory, and establishes the user to the user's home directory, and establishes the user
and group protections of the user. and group protections of the user.
@ -99,8 +102,9 @@ by
.Nm . .Nm .
.El .El
.Sh CAVEATS .Sh CAVEATS
.Nm Rexecd The
will not allow root logins unless the .Nm
utility will not allow root logins unless the
.Fl i .Fl i
option is given on the command line (typically in option is given on the command line (typically in
.Pa /etc/inetd.conf ) . .Pa /etc/inetd.conf ) .
@ -109,8 +113,9 @@ It will also disallow access for users listed in
or users with no passwords, which were all serious security holes. or users with no passwords, which were all serious security holes.
The entire concept of rexec/rexecd is a major security hole and an example The entire concept of rexec/rexecd is a major security hole and an example
of how not to do things. of how not to do things.
.Nm Rexecd The
is disabled by default in .Nm
utility is disabled by default in
.Pa /etc/inetd.conf . .Pa /etc/inetd.conf .
.Sh DIAGNOSTICS .Sh DIAGNOSTICS
Except for the last one listed below, Except for the last one listed below,
@ -156,5 +161,5 @@ present.
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
command appeared in utility appeared in
.Bx 4.2 . .Bx 4.2 .

View File

@ -42,8 +42,9 @@
.Nm .Nm
.Op Fl Daln .Op Fl Daln
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Rlogind The
is the server for the .Nm
utility is the server for the
.Xr rlogin 1 .Xr rlogin 1
program. The server provides a remote login facility program. The server provides a remote login facility
with authentication based on privileged port numbers from trusted hosts. with authentication based on privileged port numbers from trusted hosts.
@ -80,8 +81,9 @@ and
utilization, but provides increased security. utilization, but provides increased security.
.El .El
.Pp .Pp
.Nm Rlogind The
listens for service requests at the port indicated in .Nm
utility listens for service requests at the port indicated in
the the
.Dq login .Dq login
service specification; see service specification; see
@ -200,7 +202,7 @@ A more extensible protocol should be used.
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
command appeared in utility appeared in
.Bx 4.2 . .Bx 4.2 .
.Pp .Pp
IPv6 support was added by WIDE/KAME project. IPv6 support was added by WIDE/KAME project.

View File

@ -38,19 +38,23 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm /usr/libexec/rpc.rquotad .Nm /usr/libexec/rpc.rquotad
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Rpc.rquotad The
is a .Nm
utility is a
.Xr rpc 3 .Xr rpc 3
server which returns quotas for a user of a local filesystem server which returns quotas for a user of a local filesystem
which is NFS-mounted onto a remote machine. which is NFS-mounted onto a remote machine.
.Xr Quota 1 The
uses the results to display user quotas for remote filesystems. .Xr quota 1
.Nm Rpc.rquotad utility uses the results to display user quotas for remote filesystems.
is normally invoked by The
.Nm
utility is normally invoked by
.Xr inetd 8 . .Xr inetd 8 .
.Pp .Pp
.Nm Rpc.rquotad The
uses an .Nm
utility uses an
.Tn RPC .Tn RPC
protocol defined in protocol defined in
.Pa /usr/include/rpcsvc/rquota.x . .Pa /usr/include/rpcsvc/rquota.x .

View File

@ -42,7 +42,9 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm /usr/libexec/rpc.rstatd .Nm /usr/libexec/rpc.rstatd
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Rpc.rstatd The
.Nm
utility
is a server which returns performance statistics obtained from the kernel. is a server which returns performance statistics obtained from the kernel.
These statistics are read using the These statistics are read using the
.Xr rup 1 .Xr rup 1
@ -52,8 +54,9 @@ The
daemon is normally invoked by daemon is normally invoked by
.Xr inetd 8 . .Xr inetd 8 .
.Pp .Pp
.Nm Rpc.rstatd The
uses an .Nm
utility uses an
.Tn RPC .Tn RPC
protocol defined in protocol defined in
.Pa /usr/include/rpcsvc/rstat.x . .Pa /usr/include/rpcsvc/rstat.x .

View File

@ -42,8 +42,9 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm /usr/libexec/rpc.rusersd .Nm /usr/libexec/rpc.rusersd
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Rpc.rusersd The
is a server which returns information about users .Nm
utility is a server which returns information about users
currently logged in to the system. currently logged in to the system.
.Pp .Pp
The currently logged in users are queried using the The currently logged in users are queried using the
@ -54,8 +55,9 @@ The
daemon is normally invoked by daemon is normally invoked by
.Xr inetd 8 . .Xr inetd 8 .
.Pp .Pp
.Nm Rpc.rusersd The
uses an .Nm
utility uses an
.Tn RPC .Tn RPC
protocol defined in protocol defined in
.Pa /usr/include/rpcsvc/rnusers.x . .Pa /usr/include/rpcsvc/rnusers.x .

View File

@ -43,8 +43,9 @@
.Nm /usr/libexec/rpc.rwalld .Nm /usr/libexec/rpc.rwalld
.Op Fl n .Op Fl n
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Rpc.rwalld The
is a server which will send a message to users .Nm
utility is a server which will send a message to users
currently logged in to the system. This server currently logged in to the system. This server
invokes the invokes the
.Xr wall 1 .Xr wall 1
@ -68,8 +69,9 @@ The
daemon is normally invoked by daemon is normally invoked by
.Xr inetd 8 . .Xr inetd 8 .
.Pp .Pp
.Nm Rpc.rwalld The
uses an .Nm
utility uses an
.Tn RPC .Tn RPC
protocol defined in protocol defined in
.Pa /usr/include/rpcsvc/rwall.x . .Pa /usr/include/rpcsvc/rwall.x .

View File

@ -38,7 +38,9 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm /usr/libexec/rpc.sprayd .Nm /usr/libexec/rpc.sprayd
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Rpc.sprayd The
.Nm
utility
is a server which records packets sent by the is a server which records packets sent by the
.Xr spray 8 .Xr spray 8
command and sends a traffic report to the originator of the packets. command and sends a traffic report to the originator of the packets.
@ -47,8 +49,9 @@ The
daemon is normally invoked by daemon is normally invoked by
.Xr inetd 8 . .Xr inetd 8 .
.Pp .Pp
.Nm Rpc.sprayd The
uses an .Nm
utility uses an
.Tn RPC .Tn RPC
protocol defined in protocol defined in
.Pa /usr/include/rpcsvc/spray.x . .Pa /usr/include/rpcsvc/spray.x .

View File

@ -44,7 +44,7 @@
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm
server utility
is the server for the is the server for the
.Xr rcmd 3 .Xr rcmd 3
routine and, consequently, for the routine and, consequently, for the
@ -54,8 +54,7 @@ with authentication based on privileged port numbers from trusted hosts.
.Pp .Pp
The The
.Nm .Nm
server utility listens for service requests at the port indicated in
listens for service requests at the port indicated in
the the
.Dq cmd .Dq cmd
service specification; see service specification; see
@ -111,8 +110,9 @@ shell is retrieved on the initial socket. The length of
the command is limited by the upper bound on the size of the command is limited by the upper bound on the size of
the system's argument list. the system's argument list.
.It .It
.Nm Rshd The
then validates the user using .Nm
utility then validates the user using
.Xr ruserok 3 , .Xr ruserok 3 ,
which uses the file which uses the file
.Pa /etc/hosts.equiv .Pa /etc/hosts.equiv

View File

@ -36,8 +36,9 @@
.Nm rtld .Nm rtld
.Nd run-time link-editor .Nd run-time link-editor
.Sh DESCRIPTION .Sh DESCRIPTION
The
.Nm .Nm
is a self-contained shared object providing run-time utility is a self-contained shared object providing run-time
support for loading and link-editing shared objects into a process' support for loading and link-editing shared objects into a process'
address space. address space.
It is also commonly known as the dynamic linker. It is also commonly known as the dynamic linker.
@ -56,8 +57,9 @@ to be called on a per-object basis, giving a shared object an opportunity
to perform any extra set-up before execution of the program proper begins. to perform any extra set-up before execution of the program proper begins.
This is useful for C++ libraries that contain static constructors. This is useful for C++ libraries that contain static constructors.
.Pp .Pp
The
.Nm .Nm
itself is loaded by the kernel together with any dynamically-linked utility itself is loaded by the kernel together with any dynamically-linked
program that is to be executed. program that is to be executed.
The kernel transfers control to the The kernel transfers control to the
dynamic linker. dynamic linker.
@ -73,7 +75,9 @@ file prepared by the
.Xr ldconfig 8 .Xr ldconfig 8
utility. utility.
.Pp .Pp
The
.Nm .Nm
utility
recognizes a number of environment variables that can be used to modify recognizes a number of environment variables that can be used to modify
its behaviour as follows: its behaviour as follows:
.Pp .Pp

View File

@ -41,7 +41,9 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Talkd The
.Nm
utility
is the server that notifies a user that someone else wants to is the server that notifies a user that someone else wants to
initiate a conversation. initiate a conversation.
It acts as a repository of invitations, responding to requests It acts as a repository of invitations, responding to requests
@ -74,5 +76,5 @@ stream connection through which the conversation takes place.
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
command appeared in utility appeared in
.Bx 4.3 . .Bx 4.3 .

View File

@ -54,13 +54,14 @@ protocol server
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm .Nm
command is a server which supports the utility is a server which supports the
.Tn DARPA .Tn DARPA
standard standard
.Tn TELNET .Tn TELNET
virtual terminal protocol. virtual terminal protocol.
.Nm Telnetd The
is normally invoked by the internet server (see .Nm
utility is normally invoked by the internet server (see
.Xr inetd 8 ) .Xr inetd 8 )
for requests to connect to the for requests to connect to the
.Tn TELNET .Tn TELNET
@ -84,7 +85,7 @@ port number.
.Pp .Pp
The The
.Nm .Nm
command accepts the following options: utility accepts the following options:
.Bl -tag -width indent .Bl -tag -width indent
.It Fl a Ar authmode .It Fl a Ar authmode
This option may be used for specifying what mode should This option may be used for specifying what mode should
@ -279,8 +280,9 @@ a specific authentication type without having to recompile
.Nm . .Nm .
.El .El
.Pp .Pp
.Nm Telnetd The
operates by allocating a pseudo-terminal device (see .Nm
utility operates by allocating a pseudo-terminal device (see
.Xr pty 4 ) .Xr pty 4 )
for a client, then creating a login process which has for a client, then creating a login process which has
the slave side of the pseudo-terminal as the slave side of the pseudo-terminal as
@ -288,8 +290,9 @@ the slave side of the pseudo-terminal as
.Dv stdout .Dv stdout
and and
.Dv stderr . .Dv stderr .
.Nm Telnetd The
manipulates the master side of the pseudo-terminal, .Nm
utility manipulates the master side of the pseudo-terminal,
implementing the implementing the
.Tn TELNET .Tn TELNET
protocol and passing characters protocol and passing characters
@ -332,8 +335,9 @@ mode, and with
enabled (see enabled (see
.Xr tty 4 ) . .Xr tty 4 ) .
.Pp .Pp
.Nm Telnetd The
has support for enabling locally the following .Nm
utility has support for enabling locally the following
.Tn TELNET .Tn TELNET
options: options:
.Bl -tag -width "DO AUTHENTICATION" .Bl -tag -width "DO AUTHENTICATION"
@ -393,8 +397,9 @@ indicates a willingness to decrypt
the data stream. the data stream.
.El .El
.Pp .Pp
.Nm Telnetd The
has support for enabling remotely the following .Nm
utility has support for enabling remotely the following
.Tn TELNET .Tn TELNET
options: options:
.Bl -tag -width "DO AUTHENTICATION" .Bl -tag -width "DO AUTHENTICATION"
@ -578,8 +583,9 @@ has no common interpretation except between similar operating systems
The terminal type name received from the remote client is converted to The terminal type name received from the remote client is converted to
lower case. lower case.
.Pp .Pp
.Nm Telnetd The
never sends .Nm
utility never sends
.Tn TELNET .Tn TELNET
.Dv IAC GA .Dv IAC GA
(go ahead) commands. (go ahead) commands.

View File

@ -45,8 +45,9 @@
.Op Fl u Ar user .Op Fl u Ar user
.Op Ar directory ... .Op Ar directory ...
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Tftpd The
is a server which supports the .Nm
utility is a server which supports the
Internet Trivial File Transfer Internet Trivial File Transfer
Protocol Protocol
.Pq Tn RFC 1350 . .Pq Tn RFC 1350 .
@ -177,7 +178,7 @@ The user must be specified by name, not a numeric UID.
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
command appeared in utility appeared in
.Bx 4.2 ; .Bx 4.2 ;
the the
.Fl s .Fl s

View File

@ -38,7 +38,9 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm /usr/libexec/xtend .Nm /usr/libexec/xtend
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Xtend The
.Nm
utility
interfaces between user-level programs and the TW523 X-10 controller. interfaces between user-level programs and the TW523 X-10 controller.
It logs all packets received from the TW523, attempts to track the It logs all packets received from the TW523, attempts to track the
status of all X-10 devices, and accepts socket connections from user-level status of all X-10 devices, and accepts socket connections from user-level
@ -51,8 +53,9 @@ its log file, where it subsequently records all X-10 activity and
diagnostic messages. It then begins processing packets received from diagnostic messages. It then begins processing packets received from
the TW523 and accepting connections one at a time from clients the TW523 and accepting connections one at a time from clients
wishing to issue X-10 commands. wishing to issue X-10 commands.
.Nm Xtend The
is started from .Nm
utility is started from
.Pa /etc/rc.i386 .Pa /etc/rc.i386
startup script if enabled in startup script if enabled in
.Pa /etc/rc.conf .Pa /etc/rc.conf
@ -76,13 +79,16 @@ causes
.Nm .Nm
to abort the current client connection. to abort the current client connection.
.Pp .Pp
.Nm Xtend The
.Nm
utility
communicates with client processes by a simple protocol in which a one-line communicates with client processes by a simple protocol in which a one-line
command is sent by the client, and is acknowledged by a one-line response command is sent by the client, and is acknowledged by a one-line response
from the daemon. from the daemon.
.Pp .Pp
.Nm Xtend The
understands four types of commands: .Nm
utility understands four types of commands:
.Bl -tag -width "monitor H U .Bl -tag -width "monitor H U
.It Ic status Ar H U .It Ic status Ar H U
where where
@ -133,7 +139,9 @@ is returned if the maximum (currently 5) number of such clients was not
exceeded, otherwise exceeded, otherwise
.Sy ERROR .Sy ERROR
is returned. is returned.
.Nm Xtend The
.Nm
utility
then returns to its normal mode of accepting connections from clients. then returns to its normal mode of accepting connections from clients.
However, each subsequent change in the status of the specified device will However, each subsequent change in the status of the specified device will
cause cause
@ -170,7 +178,9 @@ dump of device status
There is currently no timeout on client socket connections, so a hung There is currently no timeout on client socket connections, so a hung
client program can prevent other clients from accessing the daemon. client program can prevent other clients from accessing the daemon.
.Pp .Pp
.Nm Xtend The
.Nm
utility
does the best it can at trying to track device status, but there is does the best it can at trying to track device status, but there is
usually no way it can tell when a device has been operated manually. usually no way it can tell when a device has been operated manually.
This is due to the fact that most X-10 devices are not able to This is due to the fact that most X-10 devices are not able to

View File

@ -47,8 +47,9 @@
.Op Fl C Ar taskid program-number ipaddr port .Op Fl C Ar taskid program-number ipaddr port
.Ar mapname .Ar mapname
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Ypxfr The
copies an .Nm
utility copies an
.Tn NIS .Tn NIS
database (or database (or
.Pa map ) .Pa map )
@ -63,8 +64,9 @@ is generally invoked by
.Xr ypserv 8 .Xr ypserv 8
when it receives a map transfer request from when it receives a map transfer request from
.Xr yppush 8 . .Xr yppush 8 .
.Nm Ypxfr The
is used primarily in environments where several .Nm
utility is used primarily in environments where several
.Tn NIS .Tn NIS
servers are in use in a single domain. One server, the servers are in use in a single domain. One server, the
.Tn NIS .Tn NIS
@ -160,7 +162,7 @@ transfer method, particularly for very large
.Tn NIS .Tn NIS
maps. The maps. The
.Nm .Nm
command will check to see if the utility will check to see if the
.Xr rpc.ypxfrd 8 .Xr rpc.ypxfrd 8
server is registered on the server is registered on the
.Tn NIS .Tn NIS