And hey, this is about OpenBSD, and has only some similarities with Apple's Darwin, which is the bottom half of Mac OS X. So if you're looking for Apple's Darwin System and a web search engine got you here, tough luck, because Apple chose my last name for their OS many years after I had been contributing to the Internet. Go complain to Steve Jobs.
Warning: the OpenBSD man pages are very good! This warning is for those from other UNIX-like systems where man pages are a bottom priority. The OpenBSD developers' passion for completeness and accuracy shows in many facets of the system, including the man pages.
New administrators are particularly admonished to read the man page afterboot early on in your days as an OpenBSD administrator.
Also, remember to peruse the Frequently Asked Questions, since new administrators almost all ask the same questions.
Please use the mailing lists as a last resort, after consulting the man pages (perhaps aided and abetted by the table below), and RTFM (Read The FAQ, man).
This web page is copyright (c) 2000 by Ian F. Darwin. It may be printed or referred to for use in learning or using OpenBSD. It may not be copied for use with operating systems other than OpenBSD.
The following table is being reorganized to have separate columns for programs and config files; for now, take with grain of salt.
Service | Program | Enable/Disable in | Config File | Reload | Notes |
---|---|---|---|---|---|
Add user | adduser(8) | - | /etc/adduser.conf | - | Interactive; useradd batch |
Admin privs, get | see sudo | ||||
AFS (Andrew File System) | - | rc.conf | afs=YES | /etc/afs? | - |
AMD (Auto Mount Daemon) | amd(8) | rc.conf | amd=YES | ||
Apache | see httpd | ||||
APM (APM daemon, for notebooks and ATX PCs) | apmd(8) | rc.conf | |||
backups | dump(8), restore(8) | - | - | - | See also in ports/sysutils/* |
biff service | comsat(8) | inetd.conf | - | HUP inetd | |
BIND | see named | ||||
bootparamd | bootparamd(8) | rc.conf | |||
bootps | bootps(8) | inetd.conf | ? | HUP inetd | |
Build a kernel | config(8) | - | - | reboot | Hardly ever necessary! |
CCD (Concat. Disk) | - | rc.conf | /etc/ccd.conf | ||
chargen | inetd internal | inetd.conf | - | HUP inetd | |
console login | see tty login | - | - | - | Switch with CTRL/ALT/F[1-8] |
CUPS | cupsd | - | - | - print/cups | |
daytime service | inetd internal | inetd.conf | - | HUP inetd | |
DHCP server | dhcpd(8) | rc.conf | dhcpd.conf + dhcpd.interface | HUP dhcpd | |
DHCP, client | dhclient(8) | - | /etc/dhclient.conf | ||
discard service | inetd internal | inetd.conf | - | HUP inetd | |
DNS | see named | ||||
dns resolver | - | /etc/resolv.conf | /etc/resolv.conf | ||
domain, setting | domainname | - | /etc/defaultdomain | ||
echo server | inetd internal | inetd.conf | - | HUP inetd | |
Eclipse IDE | - | - | - | - | ports devel/eclipse |
finger server | fingerd(8) | inetd.conf | - | HUP inetd | |
FireFox | - | - | - | - | ports www/mozilla-firefox |
firewall | see ip filtering | ||||
ftp, anonymous | see ftpd(8) | ||||
ftpd | ftpd(8) | inetd.conf/rc.conf | various | ||
GNOME | - | .xinit/.xsession | - | login | ports x11/gnome/* |
hostname, setting | hostname(8) | /etc/myname | - | hostname command | |
httpd | httpd(8) | rc.conf | /var/www/conf/ | apachectl restart | Apache 1.3.12 |
identd | identd(8) | rc.conf or inetd.conf | |||
IDS (Intrusion Detection) | - | - | - | - | See ports/net/{snort,nfr, ...} |
inetd | inetd(8) | rc.conf | inetd.conf | HUP inetd | |
IP address | ifconfig | /etc/hostname.xxy | ifconfig | Min. format: inet 192.168.n.n | |
IP aliases | ifconfig | /etc/ifaliases | ifconfig alias | ||
IP masquerading | See NAT | ||||
ipfilter | Replaced by pf | ||||
IPMON logging | - | rc.conf | |||
ipnat | see NAT | ||||
IPSEC | ika* | - | - | - | |
IPV6 | - | rc.conf | various, and kernel config | ||
isakmp key exchange | isakmpd | rc.conf | ? | ||
Java | JDK | - | - | - | jdk1.6 (or later) package, or build from ports devel/jdk* |
kauth | kauthd | inetd.conf | - | HUP inetd | |
KDE | KDE | .xinit/.xsession | /usr/ports/x11/kde/* | login | kde3* packages |
kerberos server | kerbd? | rc.conf | ? | HUP inetd | See 'info kth-krb' |
kernel configuration | config(8) | - | - | config;make;reboot | config(8) |
klogin | klogin | inetd.conf | - | HUP inetd | |
ksh (Korn shell) | /bin/ksh | pdksh in base - | - | /usr/ports/shells | |
kshell(Kerberos rsh) | kshelld | - | inetd.conf | HUP inetd | |
kx (Kerberos X11) | kxd | inetd.conf | - | HUP inetd | |
LDAP | ldapd | - | - | - | OpenLDAP package |
Linux binaries | - | - | - | - | See compat_linux(8) |
lpd | lpd | rc.conf | printcap | lpc | See also ports/printing/* |
mail transport, map names to commands | - | - | /etc/mailer.conf | ||
man, sections, ordering | man(1) | - | /etc/man.conf | ||
mopd (DEC boot) | mopd(8) | rc.conf | ? | ||
Multicast routing | mrouted(8) | rc.conf | - | - See also netstart | |
named | named(8) | rc.conf | /var/named/namedb/* | HUP named | |
NAT | pfctl(8) | rc.conf | nat.conf | re-run it | Need sysctl.conf |
network address | see IP address | ||||
network address translation | see NAT | ||||
network time protocol | see ntpd(8) | ||||
NFS client | - | rc.conf fstab | re-mount | also yp_init | |
NFS lockd | lockd(8) | rc.conf | |||
nfs server | mountd(8) | rc.conf | /etc/exports | HUP mountd | also yp_init |
NIS | see YP | ||||
nsswitch.conf | - | /etc/resolv.conf | - | Only "lookup"; see resolv.conf(5) | |
ntalk | ntalkd(8) | inetd.conf | - | HUP inetd | |
NTP | see xntpd | ||||
ntpd | ntpd | rc.conf | /etc/ntp.conf | HUP xntpd | |
Oakley key exchange | see iskamp | ||||
OpenVPN | - | - | - | - | ports security/openvpn |
packages | pkg_* | - | - | - | pkg_add, pkg_delete, pkg_info etc (like RPM/apt-get) |
passwd command | passwd(1) | - | /etc/passwd.conf | - | Multiple encryption algorithms |
passwd file edit | vipw(8) | - | - | - | Edits master.passwd (extra fields, see master.passwd(5)) |
perl | perl(1) | - | - | - | Included with base system |
pf | pfctl(8) | rc.conf | pf.rules | run it | Kernel option and sysctl.conf |
pf per-user | authpf(8) | login | ? | login | New in 3.1 |
PHP | - | - | - | - | ports/packages www/PHP* |
POP3 | popa3d | - | - | - | |
printing | see lpd, cups | ||||
python | - /usr/ports/lang/python | Add from ports/packages | |||
quotas | - | rc.conf | - | edquota each f/sys | |
quote of the day service | - | inetd.conf | - | HUP inetd | |
RAID | various | - | - | - | Many controllers supported, also RAIDFrame; see man -k raid |
RARP | rarpd(8) | rc.conf | /etc/ethers | - | |
rbootd | rbootd(8) | rc.conf | /etc/rbootd.conf | ||
rexec | - | inetd.conf | HUP inetd | ||
rlogin | - | inetd.conf | HUP inetd | ||
route, default | route(8) | - | /etc/mygate | route add default | - |
routed | routed | - | rc.conf | ||
RPC | portmap(8) | rc.conf | /etc/rpc | restart portmap | needed for NFS, NIS, rusers, ... |
rquotad | inetd.conf | edquota in each filesystem | HUP inetd | ||
rsh | rshd(8) | inetd.conf | - | HUP inetd | |
rstatd | rstatd(8) | inetd.conf | - | HUP inetd | |
rusersd | rpc.rusersd | inetd.conf | - | HUP inetd | |
rwho service | rwhod | rc.conf | - | HUP inetd | |
sendmail | sendmail(8) | rc.conf | /etc/mail/sendmail.cf | HUP sendmail | |
shadow passwd | spwd.db | - | - | - | Maintained by passwd, vipw |
shared libs, adding directory | rc.conf | shlib_dirs= | |||
smtpfwdd | smtpfwdd(8) | rc.conf | - | - | And smtpd in inetd.conf |
sprayd | sprayd(8) | inetd.conf | - | - | HUP inetd |
SSH service | sshd(8) | rc.conf | |||
sudo (become root) | sudo(8) | - | /etc/sudoers | sudo or su | |
syslog, message filing | /etc/syslog.conf | ||||
syslog, rotation | /etc/newsyslog.conf | ||||
system options | - | Kernel config, and /etc/sysctl.conf | |||
Talk service | see ntalkd | ||||
TCP options | - | - | /etc/sysctl.conf | sysctl -w | |
telnetd | inetd.conf | HUP inetd | |||
tftp server | tftpd(8) | inetd.conf | HUP inetd | ||
Thunderbird | - | - | - | - | ports/packages mail/thunderbird |
time server, new | See xntpd | ||||
time server, old | See timed | ||||
tty login | /usr/libexec/getty | - | /etc/ttys | - | Set "insecure" to refuse root login, use sudo |
user | - | see also passwd file | |||
uucpd | inetd.conf | HUP inetd | |||
Video, V4L2 | See web cam | ||||
VPN | See isakmpd, OpenVPN | ||||
walld | /usr/libexec/rpc.rwalld | inetd.conf | - | HUP inetd | portmap=yes in rc.conf |
web cam | uvideo(4) | - | - | Supports UVC webcams only | |
web server | see httpd | ||||
XDM | rc.conf | - | - | - | maybe disable getty in ttys |
YP system | /usr/sbin/ypinit | - | - | To disable, rm -r /var/yp/binding |