inetctl version 1.1 Written by John Jenkins Andre Nathan ============ README ====== Inetctl simplifies enabling and disabling of services provided by inetd. ------------------------------------------------------------------------ Standard Disclaimer. -------------------- While all care has been taken to make this software as bugfree(TM) as possible, there is always a chance that something may go wrong... By using this software you should understand that we (see CREDITS) the authors cannot take responsibility for any damage to anything (virtual, physical or ephemeral), caused by the use (or misuse) of the inetctl script. No warranty is given or implied... In plain English.. "It works for us but... Use this software at your OWN risk!!" Installation. ------------- See INSTALL. Operation. ---------- Dialog Mode. ------------ With no arguments, inetctl will use dialog to present all services listed in the inetd configuration file e.g. /etc/inetd.conf. The space bar may be used to enable or disable any services. Once OK is selected, the user will be asked if they wish to restart the inetd daemon. If the user selects NO to restarting the inetd daemon, the inetd.conf file will still be modified but the changes will not take effect until the inetd server is (re)started or at the next reboot. Commandline Mode. ----------------- If legal command line arguments are given, inetctl will operate in command line mode. In command line mode, changes will only take effect if either --enable or --disable options are used. More than one server may be passed as an argument to these two options. To refine the selection further a --protocol and or --server option may be given with only one valid argument each. Invalid arguments will display a short help message. Please read the inetctl(8) man page for a full description of these options. If no matching lines are found, no changes will be made to the inetd.conf file and the inetd daemon will not be restarted. Paths ----- Inetctl uses standard Slackware Linux paths to the tools used in the script. These are held in variables and may be changed in the "PATHS" section at the start of the script. Defaults -------- By default, logging is disabled and verbosity is enabled. These may be changed in the "Variables" section at the start of the script. Problems. --------- Commenting format ----------------- If you find that not all services in inetd.conf are being matched/displayed it could be due to "non-standard" comenting of the control lines. inetctl can cope with some variance in comment formatting such as spaces and or multiple "#"s. These will be filtered out and replaced with "standard comment formatting" the first time inetctl makes changes to the conf file. We define "standard" comment formatting as "one comment, one space and then the text" e.g # These two lines are commented out using standard comment format. # ftp stream tcp nowait ........ If you are in the habit of commenting service lines with something like ##Changed by BOFH 28-10-02## ftp stream tcp nowait ........ Then you will need to manually remove these comments or perhaps put them on a line above the control line. e.g. ##Changed by BOFH 28-10-02## # ftp stream tcp nowait ........ Bugs. ----- In the "highly unlikely"TM event that you find a bug in this software, we would like to know about it. Please send all relavent details to one of the developers. See CREDITS for contact info.