Release 1.5 and -current later have different /etc/rc.conf scheme.
files under /etc | option | sample (see /usr/share/examples), note | /etc/rc.conf |
---|---|---|---|
passwd | passwd -l (for root) | ||
group | add your name on wheel entry to use su( for root) | ||
hosts | (*) | 192.168.0.1 host.domain host | |
rc.conf | rc_configured=YES | ||
myname | (*) | (hostname) | hostname="" # if blank, use /etc/myname |
mygate | (*) | (default router ip address) | defaultroute="" # if blank, use /etc/mygate |
ifconfig.gm0 | (*) | inet hostname netmask 0xffffff00 (name depends Network interface) mace -> mc0, NE2000 -> ne0, DECchip -> de0, etc | |
resolv.conf | (*) | man resolv.conf | |
localtime | -> /usr/share/zoneinfo/Japan | ||
master.passwd | (root) passwd <return> vipw |
||
ntp.conf | ntp | sample | ntp=YES |
dhcp.conf | dhcp | /usr/share/examples/dhcp | dhcpd=YES dhcpd_flags="-q" |
defaultdomain | NIS | (NIS domain name) | domainname="" # if blank, use /etc/defaultdomain |
ypbind=YES rpcbind=YES |
|||
nsswitch.conf | NIS | ||
exports | NFS server | (sample) | nfs_server=YES # enable server daemons |
amd.conf | amd | cp -p /usr/share/examples/amd/* /etc add following line [ /a ] map_name = amd.home |
|
amd/ (cd, net) | /usr/share/examples/amd/net | amd=YES | |
/usr/share/examples/amd/cd | |||
amd.home | |||
mk.conf | (make) | LOCALBASE=/usr/local | |
inetd.conf | |||
syslog.conf | |||
newsyslog.conf | |||
man.conf | |||
sysctl.conf | |||
shells | tcsh | pkg_add tcsh will add lines /usr/pkg/bin/tcsh |
Last Update 19:52:53 03/12/08 Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) (since 1999/11/15)