freebsd-nq/usr.sbin/sysinstall
Robert Watson 0c09bcb0e8 Compensate for default disabling of network services in inetd.conf(5)
by providing the opportunity to edit inetd.conf during the system
installation process.  The following modifications were made:

(1) Expand the Anonymous FTP description dialog to indicate that inetd
    and ftpd must be enabled before it can be used.

(2) Introduce a new configInetd() pair of dialogs, the first describing
    inetd, giving a couple of examples of services that require it, and
    hinting at potential risk, then asking the user if they wish to
    enable it.  The second indicates that inetd.conf must be configured
    to enabled specific services, and asks if the user would like to
    load inetd.conf into the editor to modify it.  Add this
    configuration action to the index.

There are some further improvements that might be considered:

(1) Provide a more inetd.conf-specific configuration tool that speaks
    inetd.conf(5).  However, this is made difficult by the "yet another
    configuration format" nature of inetd.conf, as well as its use of
    commenting to disable services, rather than an in-syntax way to
    disable a service without commenting it out.  Submissions here
    would probably be welcome.

(2) There's some overlap between settings in the somewhat obtuse
    Security Profile mechanism and other settings, including the inetd
    setting, and NFS server configuration.  As features become
    individually tunable, they should probably be removed from the
    security profile mechanism.  Otherwise, somewhat counter-intuitively,
    sysinstall (in practice) queries multiple times whether inetd, nfsd,
    etc, should be enabled/disabled.  A possible future direction might
    be to drive profiles not by degree of paranoia, rather, the set
    of services desired.  Or simply to remove the Security Profile
    mechanism and resort to feature-driven configuration.

Reviewed by:	imp, chris, jake, nate, -arch, -stable
2001-08-02 03:25:16 +00:00
..
help Fix the default number of virtual consoles in the usage.hlp file: there 2001-06-04 15:16:41 +00:00
anonFTP.c Compensate for default disabling of network services in inetd.conf(5) 2001-08-02 03:25:16 +00:00
cdrom.c Various changes to the messages so that they are now appropriate for both 2001-06-27 17:48:43 +00:00
command.c Mark relevant functions __printflike()/__printf0like() and silence some of 2001-07-05 09:51:09 +00:00
config.c Compensate for default disabling of network services in inetd.conf(5) 2001-08-02 03:25:16 +00:00
dev2c.sh $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
devices.c You were knocked senseless by the Boomerang, spun around by the Cyclone, 2001-07-23 20:44:54 +00:00
dhcp.c $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
disks.c ``An undocumented feature is a bug.'' 2001-04-18 20:26:28 +00:00
dispatch.c Compensate for default disabling of network services in inetd.conf(5) 2001-08-02 03:25:16 +00:00
dist.c Introduce DEVICE_INIT, DEVICE_GET, and DEVICE_SHUTDOWN macros. As the 2001-07-02 00:18:04 +00:00
dist.h Teach sysinstall about the `compat4x' distribution. 2001-02-09 19:01:49 +00:00
dmenu.c Whoops - really make the "fix" I did to the dmenuToggleVariable logic 2000-03-08 14:20:26 +00:00
doc.c Fix benign but stupid variable typo. 2000-02-26 12:35:00 +00:00
dos.c msdos -> msdosfs. 2001-06-01 12:16:09 +00:00
floppy.c msdos -> msdosfs. 2001-06-01 12:16:09 +00:00
ftp.c Introduce DEVICE_INIT, DEVICE_GET, and DEVICE_SHUTDOWN macros. As the 2001-07-02 00:18:04 +00:00
globals.c Terminate, with extreme prejudice, the USAResident hack which 2000-07-24 18:00:16 +00:00
http.c Enable the same path deduction as for ftp install (great for snapshot tests) 2000-12-06 00:47:54 +00:00
index.c Mark relevant functions __printflike()/__printf0like() and silence some of 2001-07-05 09:51:09 +00:00
install.c Compensate for default disabling of network services in inetd.conf(5) 2001-08-02 03:25:16 +00:00
install.cfg Really finish softupdate setting from the label editor and fix 2001-03-12 10:18:54 +00:00
installUpgrade.c Introduce DEVICE_INIT, DEVICE_GET, and DEVICE_SHUTDOWN macros. As the 2001-07-02 00:18:04 +00:00
keymap.c Initiate deorbit burn sequence for <machine/console.h>. 2000-10-08 21:34:00 +00:00
kget.c Update sysinstall to use struct uc_device instead of struct isa_device 2000-03-24 22:24:09 +00:00
label.c Tweak the Alpha partition warning wording and comment a little. 2001-07-13 16:45:00 +00:00
list.h $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
main.c Various changes to the messages so that they are now appropriate for both 2001-06-27 17:48:43 +00:00
Makefile Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
media.c If we're set to non-interactive, we shouldn't ask the user yes/no questions 2001-07-30 20:45:54 +00:00
menus.c Compensate for default disabling of network services in inetd.conf(5) 2001-08-02 03:25:16 +00:00
misc.c Remove BAD144 support. 1999-11-27 14:33:07 +00:00
modules.c Moved driver modules for some PCI NICs and PCCARD-only NICs to mfsroot.flp. 2000-10-31 07:39:07 +00:00
mouse.c Fixed small bug introduced in my last commit. 2000-05-11 23:43:12 +00:00
msg.c If we're set to non-interactive, we shouldn't ask the user yes/no questions 2001-07-30 20:45:54 +00:00
network.c Mark relevant functions __printflike()/__printf0like() and silence some of 2001-07-05 09:51:09 +00:00
nfs.c Introduce DEVICE_INIT, DEVICE_GET, and DEVICE_SHUTDOWN macros. As the 2001-07-02 00:18:04 +00:00
options.c Add terminal type configuration to the Options screen. It allows selecting 2001-06-13 10:25:09 +00:00
package.c Fix the type of the NULL arg to execl() 2001-07-09 09:24:06 +00:00
pccard.c Mark relevant functions __printflike()/__printf0like() and silence some of 2001-07-05 09:51:09 +00:00
rtermcap.c
sysinstall.8 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
sysinstall.h Compensate for default disabling of network services in inetd.conf(5) 2001-08-02 03:25:16 +00:00
system.c Fix the type of the NULL arg to execl() 2001-07-09 09:24:06 +00:00
tape.c In retrospect, msgNotify() should leave its contents on the screen 1999-12-17 02:46:04 +00:00
tcpip.c Fix IP address checking, now we allow addresses like 172.17.0.0/23 as 2001-07-12 00:01:45 +00:00
termcap.c Move cons25w entry last, index is off by one otherwise if RunningAsInit 2001-05-10 17:14:29 +00:00
ttys.c Fix disclaimer clause 2001-07-17 08:35:45 +00:00
ufs.c $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
usb.c Add support for USB to sysinstall. This includes running usbd and 2000-05-12 03:01:17 +00:00
user.c Mark relevant functions __printflike()/__printf0like() and silence some of 2001-07-05 09:51:09 +00:00
variable.c Mark relevant functions __printflike()/__printf0like() and silence some of 2001-07-05 09:51:09 +00:00
wizard.c Mark relevant functions __printflike()/__printf0like() and silence some of 2001-07-05 09:51:09 +00:00