Allow for a group name to be specified in the ``user'' field: user[.group]
Allow for max # of invocations to be specified; appended to ``wait'' field: wait/nowait[.max] Allow for RPC specifications in numeric format. Inetd now stores its pid in `/var/run/inetd.pid'. Support for AF_UNIX family.
This commit is contained in:
parent
78c33b3965
commit
08ba41f417
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)inetd.8 6.7 (Berkeley) 3/16/91
|
||||
.\" $Id: inetd.8,v 1.3 1993/08/01 07:24:56 mycroft Exp $
|
||||
.\" $Id: inetd.8,v 1.4 1993/10/13 11:22:48 pk Exp $
|
||||
.\"
|
||||
.Dd March 16, 1991
|
||||
.Dt INETD 8
|
||||
@ -82,8 +82,8 @@ fields of the configuration file are as follows:
|
||||
service name
|
||||
socket type
|
||||
protocol
|
||||
wait/nowait
|
||||
user
|
||||
wait/nowait[.max]
|
||||
user[.group]
|
||||
server program
|
||||
server program arguments
|
||||
.Ed
|
||||
@ -96,8 +96,8 @@ based service, the entry would contain these fields.
|
||||
service name/version
|
||||
socket type
|
||||
rpc/protocol
|
||||
wait/nowait
|
||||
user
|
||||
wait/nowait[.max]
|
||||
user[.group]
|
||||
server program
|
||||
server program arguments
|
||||
.Ed
|
||||
@ -188,12 +188,28 @@ the server reads the first packet, creates a new socket,
|
||||
and then forks and exits to allow
|
||||
.Nm inetd
|
||||
to check for new service requests to spawn new servers.
|
||||
The optional
|
||||
.Dq max
|
||||
suffix (separated from
|
||||
.Dq wait
|
||||
or
|
||||
.Dq nowait
|
||||
by a dot) specifies the maximum number of server instances that may be
|
||||
spawned from
|
||||
.Nm inetd
|
||||
within an interval of 60 seconds. When omitted,
|
||||
.Dq max
|
||||
defaults to 40.
|
||||
.Pp
|
||||
The
|
||||
.Em user
|
||||
entry should contain the user name of the user as whom the server
|
||||
should run. This allows for servers to be given less permission
|
||||
than root.
|
||||
than root. An optional group name can be specified by appending a dot to
|
||||
the user name followed by the group name. This allows for servers to run with
|
||||
a different (primary) group id than specified in the password file. If a group
|
||||
is specified and user is not root, the supplementary groups associated with
|
||||
that user will still be set.
|
||||
.Pp
|
||||
The
|
||||
.Em server-program
|
||||
@ -239,6 +255,10 @@ rereads its configuration file when it receives a hangup signal,
|
||||
.Dv SIGHUP .
|
||||
Services may be added, deleted or modified when the configuration file
|
||||
is reread.
|
||||
.Nm Inetd
|
||||
creates a file
|
||||
.Em /var/run/inetd.pid
|
||||
that contains its process identifier.
|
||||
.Sh SEE ALSO
|
||||
.Xr comsat 8 ,
|
||||
.Xr fingerd 8 ,
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -31,9 +31,10 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)pathnames.h 5.3 (Berkeley) 6/1/90
|
||||
* $Id: pathnames.h,v 1.2 1993/08/01 17:59:32 mycroft Exp $
|
||||
* $Id: pathnames.h,v 1.3 1993/10/13 11:22:51 pk Exp $
|
||||
*/
|
||||
|
||||
#include <paths.h>
|
||||
|
||||
#define _PATH_INETDCONF "/etc/inetd.conf"
|
||||
#define _PATH_INETDPID "/var/run/inetd.pid"
|
||||
|
Loading…
Reference in New Issue
Block a user