DNETD.CONF(5) | File Formats Manual | DNETD.CONF(5) |
/etc/dnetd.conf - DECnet objects file
/etc/dnetd.conf is an ASCII file which contains the description of the objects known to the DECnet super-server dnetd.
There is one entry per line, and each line has the format:
The field descriptions are:
When an incoming connection is handled by dnetd it forks and
executes the command named in the command field with stdin and stdout
pointing to the DECnet socket. stderr will be set to /dev/null. The DECnet
daemons supplied in the dnprogs suite automatically detect this and so can
be run from dnetd or standalone.
There is a subtle difference between objects handled by the special name * and
those explicitly named in the file:
Objects handled by name "*" internally are run under control of a
pseudo-tty which means they appear to be talking to a terminal and CR/LF
conversion will be done so that TYPE "0=TASK" will produce
sensible output on VMS.
Objects explicitly named just connect directly to the DECnet socket so cannot
take advantage of tty services and do not have CR/LF conversion done for
them. Of course these objects are more secure because the system
administrator has total control over which objects can be run.
dnetd will convert all task names to lower case. This is for convenience more
than anything else because VMS converts them to uppercase and all uppercase
files names are unwieldy on Unix.
It is recommended that arbitrary objects be run as a special anonymous user to
avoid security problems.
Any changes to /etc/dnetd.conf will take effect immediately you do not need to
tell dnetd that it has changed.
This is the default file provided. Note that the "*" object is commented out for security reasons.
# /etc/dnetd.conf # # name number auth? user command # FAL 17 Y none fal MIRROR 25 Y root internal MAIL 27 N vmsmail vmsmaild CTERM 42 N root ctermd DTERM 23 N root rmtermd # * 0 Y none internal
5 December 1999 | DECnet for Linux |