Linux: Systemsicherheit unter Debian GNU/Linux, Teil 2

Das Kommando update-ineted

Das Kommando update-inetd kennt noch viele andere Optionen, beispielsweise auch, um Einträge zu löschen:

sushi:/home/fr# update-inetd

Usage: update-inetd [OPTION] MODE ARGUMENT

Options:

--version output version information and exit

--help display this help and exit

--verbose explain what is being done

--debug enables debugging mode

--multi allow multiple removes/disables

--file FILENAME use FILENAME instead of /etc/inetd.conf

--group GROUPNAME add entry to section GROUPNAME

--comment-chars CHARACTERS use CHARACTERS as comment characters

--pattern PATTERN use PATTERN to select a service

Modes:

--add ENTRY add ENTRY to /etc/inetd.conf

--remove ENTRY remove ENTRY (regular expression)

--enable SERVICE enable SERVICE in /etc/inetd.conf

--disable SERVICE disable SERVICE in /etc/inetd.conf

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).