Copyright (C) 2000-2012 |
Manpages update-inetdSection: Linux Programmer's Manual (8)Updated: 21 September 1995 Index Return to Main Contents NAMEupdate-inetd - create, remove, enable or disable entry in /etc/inetd.confSYNOPSISupdate-inetd [--file FILENAME] [--help] [--version] [--verbose] [--comment-chars CHARACTERS] [--debug] [--group GROUPNAME] --add ENTRYupdate-inetd [--file FILENAME] [--help] [--version] [--verbose] [--debug] --remove ENTRY update-inetd [--file FILENAME] [--help] [--version] [--verbose] [--comment-chars CHARACTERS] [--pattern PATTERN] [--multi] [--debug] --enable SERVICE update-inetd [--file FILENAME] [--help] [--version] [--verbose] [--comment-chars CHARACTERS] [--pattern PATTERN] [--multi] [--debug] --disable SERVICE DESCRIPTIONupdate-inetd can be used to add, remove, enable or disable entries in the /etc/inetd.conf file (you can specify a different file by using the --file option). After the /etc/inetd.conf file has been changed, update-inetd will send a SIGHUP signal to the inetd process to make sure that inetd will use the new /etc/inetd.conf file. For Perl scripts you can also use the Perl module DebianNet.pm . See DebianNet(3pm) for further information. update-inetd can also be used to add entries that are commented out by default. They will be treated like normal entries. That also means that if you already have an entry that is commented out you can't add an entry for the same service without removing the old one first.update-inetd treats entries that are commented out by a single `#' character as entries that have been commented out by a user. It won't change such entries.
OPTIONS
In order to prevent the shell from changing your ENTRY definition you have to quote the ENTRY using single or double quotes. You can use tabs (the tab character or \t) and spaces to separate the fields of the ENTRY. If you want to enable/disable more than one SERVICE you can use a comma separated list of services (no whitespace characters allowed). EXAMPLESYou've installed ssh (secure encrypting remote shell) and wish to disable its unencrypted cousins:
Using a single '#' character as a comment-char prevents update-inetd to reenable the services on package upgrades. You think the clock on your computer is often inaccurate and wish to make sure other computers cannot read it:
You get the clock fixed:
You hear a rumor that inetd is easily crashed via a SYN attack against the time and daytime services, you want to turn off only their TCP versions, while leaving the analogous UDP services enabled:
You just finished writing a POP3 server and want to install the /etc/inetd.conf entry from the makefile:
FILES/etc/inetd.conf /var/run/inetd.pidSEE ALSODebianNet(3pm)AUTHORPeter Tobias, <tobias@et-inf.fho-emden.de>
IndexThis document was created by man2html, using the manual pages. Time: 05:02:11 GMT, April 19, 2024 |