All standard OpenBSD services are started (configured) in /etc/rc.conf, fire up vi so we can disable the following services
·
inetd
·
sendmail
as we won't be needing them. If you intend to only connect to the box locally (through a keyboard or serial console) then I recommend disabling the sshd also. The lines should look like this after our little modification:
sendmail_flags=NO
inetd=NO
and possibly
sshd_flags=NO
These changes will be in effect after a reboot. Remember, to activate a previously disabled service simply change the NO to "" unless you want to pass additional flags to the application.