Editing /etc/
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
Here we find system configuration files and scripts. | Here we find system configuration files and scripts. | ||
− | ==Content == | + | ==Content== |
===Directories=== | ===Directories=== | ||
Line 14: | Line 14: | ||
! scope="col" style="width: 350px;"|'''Description''' | ! scope="col" style="width: 350px;"|'''Description''' | ||
|- | |- | ||
− | | | + | |[[/etc/autofs/]]||The [https://www.freebsd.org/cgi/man.cgi?query=auto_master&sektion=5 automounter] configuration consists of the auto_master configuration file, which assigns filesystem paths to map names, and maps, which contain actual mount information. The auto_master configuration file is used by the [https://www.freebsd.org/cgi/man.cgi?query=automount&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports automount(8)] command. Map files are read by the [https://www.freebsd.org/cgi/man.cgi?query=automountd&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports automountd(8)] daemon. It is possible to add custom special maps by adding them, as executable maps named special_foo, to the '''/etc/autofs/''' directory. |
|- | |- | ||
|/etc/bluetooth/|| bluetooth configuration files | |/etc/bluetooth/|| bluetooth configuration files | ||
|- | |- | ||
− | |/etc/ | + | |/etc/conf.d||The [https://wiki.gentoo.org/wiki//etc/conf.d /etc/conf.d directory] generally contains initscript configuration files. This directory becomes important when using OpenRC init system (which is enabled by default). |
|- | |- | ||
− | |/etc/cron.d||The [https://www.freebsd.org/cgi/man.cgi?cron(8) cron] utility searches /var/cron/tabs for crontab files which are named after accounts in /etc/passwd; crontabs found are loaded into memory. The cron utility also searches for | + | |/etc/cron.d||The [https://www.freebsd.org/cgi/man.cgi?cron(8) cron] utility searches /var/cron/tabs for crontab files which are named after accounts in /etc/passwd; crontabs found are loaded into memory. The cron utility also searches for /etc/crontab and files in '''/etc/cron.d''' and '''/usr/local/etc/cron.d''' which are in a different format [https://www.freebsd.org/cgi/man.cgi?query=crontab&sektion=5&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports (see crontab(5))] |
|- | |- | ||
|/etc/defaults/ ||Default system configuration files. Refer to [https://www.freebsd.org/cgi/man.cgi?query=rc&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports rc(8)] for details. | |/etc/defaults/ ||Default system configuration files. Refer to [https://www.freebsd.org/cgi/man.cgi?query=rc&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports rc(8)] for details. | ||
Line 28: | Line 28: | ||
|/etc/devd-openrc|| OpenRC implementation into the [http://www.onlinedigeditions.com/publication/?i=431295&article_id=2853870&view=articleBrowser&ver=html5#{%22issue_id%22:431295,%22numpages%22:1,%22view%22:%22articleBrowser%22,%22publication_id%22:%2229305%22,%22article_id%22:%222853870%22} TrueOS base] | |/etc/devd-openrc|| OpenRC implementation into the [http://www.onlinedigeditions.com/publication/?i=431295&article_id=2853870&view=articleBrowser&ver=html5#{%22issue_id%22:431295,%22numpages%22:1,%22view%22:%22articleBrowser%22,%22publication_id%22:%2229305%22,%22article_id%22:%222853870%22} TrueOS base] | ||
|- | |- | ||
− | |/etc/dma||[ | + | |/etc/dma||[ttps://www.freebsd.org/cgi/man.cgi?query=dma&sektion=8&manpath=freebsd-release-ports dma] is a small Mail Transport Agent (MTA), designed for home and office use. It accepts mails from locally installed Mail User Agents (MUA) and delivers the mails either locally or to a remote destination. Remote delivery includes several features like TLS/SSL support and SMTP authentification. |
|- | |- | ||
− | |/etc/gss||[https://www.freebsd.org/cgi/man.cgi?query=mech&sektion=5&apropos=0&manpath=FreeBSD+7.1-RELEASE contains: /etc/gss/mech /etc/gss/qop]. The ''/etc/gss/mech'' file contains a list of installed GSS-API security mechanisms. The ''/etc/gss/qop'' file contains a list of Quality of Protection values for use with GSS-API. | + | |/etc/gss||[https://www.freebsd.org/cgi/man.cgi?query=mech&sektion=5&apropos=0&manpath=FreeBSD+7.1-RELEASE contains: /etc/gss/mech /etc/gss/qop]. The '''/etc/gss/mech''' file contains a list of installed GSS-API security mechanisms. The '''/etc/gss/qop''' file contains a list of Quality of Protection values for use with GSS-API. |
|- | |- | ||
− | |/etc/ | + | |/etc/init.d|| FreeBSD uses the traditional BSD-style [https://www.freebsd.org/cgi/man.cgi?query=init&sektion=8&manpath=freebsd-release-ports init(8)] as system startup. Under the BSD-style init(8), there are no run-levels and /etc/inittab does not exist. Instead, startup is controlled by [ttps://www.freebsd.org/cgi/man.cgi?query=rc&sektion=8&manpath=freebsd-release-ports rc(8)] scripts. At system boot, /etc/rc reads /etc/rc.conf and /etc/defaults/rc.conf to determine which services are to be started. The specified services are then started by running the corresponding service initialization scripts located in /etc/rc.d/ and /usr/local/etc/rc.d/. |
|- | |- | ||
|/etc/libmap.d||no content on GhostBSD | |/etc/libmap.d||no content on GhostBSD | ||
Line 52: | Line 52: | ||
|/etc/periodic/ ||scripts that are run daily, weekly, and monthly, via [https://www.freebsd.org/cgi/man.cgi?query=cron&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports cron(8)]; see [https://www.freebsd.org/cgi/man.cgi?query=periodic&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports periodic(8)] | |/etc/periodic/ ||scripts that are run daily, weekly, and monthly, via [https://www.freebsd.org/cgi/man.cgi?query=cron&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports cron(8)]; see [https://www.freebsd.org/cgi/man.cgi?query=periodic&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports periodic(8)] | ||
|- | |- | ||
− | |/etc/ | + | |/etc/[[Pkg|pkg]]||List of directories to search for repository configuration files. Default: /etc/pkg/, /usr/local/etc/pkg/repos/ [https://www.freebsd.org/cgi/man.cgi?query=pkg&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports pkg] provides an interface for manipulating packages: registering, adding, removing and upgrading packages. pkg-static is a statically linked variant of pkg typically only used for the initial installation of pkg. There are some differences in functionality. |
− | to search for | + | |
|- | |- | ||
|/etc/ppp/ ||ppp configuration files; see [https://www.freebsd.org/cgi/man.cgi?query=ppp&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports ppp(8)] | |/etc/ppp/ ||ppp configuration files; see [https://www.freebsd.org/cgi/man.cgi?query=ppp&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports ppp(8)] | ||
|- | |- | ||
− | |/etc/ | + | |/etc/rc.conf.d||Content on GhostBSD only 1 file: /etc/rc.conf.d/vmware.conf |
|- | |- | ||
− | |/etc/ | + | |/etc/rc.d/ ||system and daemon startup/control scripts; see [https://www.freebsd.org/cgi/man.cgi?query=rc&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports rc(8)] |
|- | |- | ||
|/etc/runlevels||Content: /etc/runlevels/boot; /etc/runlevels/default; /etc/runlevels/nonetwork; /etc/runlevels/shutdown; /etc/runlevels/sysinit | |/etc/runlevels||Content: /etc/runlevels/boot; /etc/runlevels/default; /etc/runlevels/nonetwork; /etc/runlevels/shutdown; /etc/runlevels/sysinit | ||
Line 112: | Line 111: | ||
|/etc/ddb.conf||The ddb reads the ddb.conf for instuructions. The ddb utility configures certain aspects of the [https://www.freebsd.org/cgi/man.cgi?query=ddb&sektion=4&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports ddb(4)] kernel debugger from user space that are not configured at compile-time or easily via [https://www.freebsd.org/cgi/man.cgi?query=sysctl&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports sysctl(8]) MIB entries. | |/etc/ddb.conf||The ddb reads the ddb.conf for instuructions. The ddb utility configures certain aspects of the [https://www.freebsd.org/cgi/man.cgi?query=ddb&sektion=4&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports ddb(4)] kernel debugger from user space that are not configured at compile-time or easily via [https://www.freebsd.org/cgi/man.cgi?query=sysctl&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports sysctl(8]) MIB entries. | ||
|- | |- | ||
− | |/etc/ | + | |/etc/devd.conf||[https://www.freebsd.org/cgi/man.cgi?query=devd.conf&sektion=5&n=1 devd.conf] is a configuration file for [https://www.freebsd.org/cgi/man.cgi?query=devd&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports devd(8)]. A devd(8) (device state change daemon) configuration consists of two general features, statements and comments. All statements end with a semicolon. Many statements can contain substatements, which are also terminated with a semicolon. |
|- | |- | ||
|/etc/devd-openrc.conf||[https://github.com/OpenRC/openrc/blob/master/README.md OpenRC] is a dependency-based init system that works with the system-provided init program, normally /sbin/init. Currently, it does not have an init program of its own. devd.conf is modified from FreeBSD to call /etc/rc.devd which is a generic hook into OpenRC. | |/etc/devd-openrc.conf||[https://github.com/OpenRC/openrc/blob/master/README.md OpenRC] is a dependency-based init system that works with the system-provided init program, normally /sbin/init. Currently, it does not have an init program of its own. devd.conf is modified from FreeBSD to call /etc/rc.devd which is a generic hook into OpenRC. | ||
Line 162: | Line 161: | ||
|- | |- | ||
|/etc/inetd.conf||The [http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=%2Fcom.qnx.doc.neutrino_utilities%2Fi%2Finetd.conf.html /etc/inetd.conf] file is the default configuration file for the inetd (super-server) daemon. As shipped, this file describes all currently supported QNX Neutrino TCP/IP daemons and some nonstandard pidin services. Unless you want to add or remove daemon definitions, you don't need to modify this file. | |/etc/inetd.conf||The [http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=%2Fcom.qnx.doc.neutrino_utilities%2Fi%2Finetd.conf.html /etc/inetd.conf] file is the default configuration file for the inetd (super-server) daemon. As shipped, this file describes all currently supported QNX Neutrino TCP/IP daemons and some nonstandard pidin services. Unless you want to add or remove daemon definitions, you don't need to modify this file. | ||
− | |||
− | |||
|- | |- | ||
|/etc/libalias.conf||The [https://www.freebsd.org/cgi/man.cgi?query=libalias&sektion=3 libalias] library is a collection of functions for aliasing and dealiasing of IP packets, intended for masquerading and network address translation (NAT). | |/etc/libalias.conf||The [https://www.freebsd.org/cgi/man.cgi?query=libalias&sektion=3 libalias] library is a collection of functions for aliasing and dealiasing of IP packets, intended for masquerading and network address translation (NAT). | ||
Line 219: | Line 216: | ||
|/etc/ntp.conf||The [https://www.freebsd.org/cgi/man.cgi?query=ntp.conf&apropos=0&sektion=5&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html ntp.conf] configuration file is read at initial startup by the [https://www.freebsd.org/cgi/man.cgi?query=ntpd&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports ntpd(8)] daemon in order to specify the synchronization sources, modes and other related information. Usually, it is installed in the /etc directory, but could be installed elsewhere (see the daemon's -c command line option). | |/etc/ntp.conf||The [https://www.freebsd.org/cgi/man.cgi?query=ntp.conf&apropos=0&sektion=5&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html ntp.conf] configuration file is read at initial startup by the [https://www.freebsd.org/cgi/man.cgi?query=ntpd&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports ntpd(8)] daemon in order to specify the synchronization sources, modes and other related information. Usually, it is installed in the /etc directory, but could be installed elsewhere (see the daemon's -c command line option). | ||
|- | |- | ||
− | |/etc/ | + | |/etc/openrc||[https://github.com/OpenRC/openrc OpenRC] is a dependency-based init system, the first process started during booting of the computer system. |
|- | |- | ||
|/etc/openrc.shutdown||[https://manpages.debian.org/testing/openrc/openrc-shutdown.8.en.html openrc-shutdown] is the utility that communicates with [https://manpages.debian.org/testing/openrc/openrc-init.8.en.html openrc-init(8)] to bring down the system or instruct openrc-init to re-execute itself. | |/etc/openrc.shutdown||[https://manpages.debian.org/testing/openrc/openrc-shutdown.8.en.html openrc-shutdown] is the utility that communicates with [https://manpages.debian.org/testing/openrc/openrc-init.8.en.html openrc-init(8)] to bring down the system or instruct openrc-init to re-execute itself. | ||
Line 252: | Line 249: | ||
|/etc/pwd.db||holds use account information | |/etc/pwd.db||holds use account information | ||
|- | |- | ||
− | |/etc/ | + | |/etc/rc||[https://www.freebsd.org/cgi/man.cgi?query=rc&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html rc] is a command interpreter and programming language similar to [https://www.freebsd.org/cgi/man.cgi?query=sh&sektion=1&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports sh(1)]. |
It is based on the AT&T Plan 9 shell of the same name. The shell offers a C-like syntax (much more so than the C shell), and a powerful mechanism for manipulating variables. It is reasonably small and reasonably fast, especially when compared to contemporary shells. Its use is intended to be interactive, but the language lends itself well to scripts. | It is based on the AT&T Plan 9 shell of the same name. The shell offers a C-like syntax (much more so than the C shell), and a powerful mechanism for manipulating variables. It is reasonably small and reasonably fast, especially when compared to contemporary shells. Its use is intended to be interactive, but the language lends itself well to scripts. | ||
|- | |- | ||
− | |/etc/[https://github.com/freebsd/freebsd/blob/master/libexec/rc/ | + | |/etc/rc.bsdextended||[https://github.com/freebsd/freebsd/blob/master/libexec/rc/rc.bsdextended] |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
− | |/etc/ | + | |/etc/rc.conf||The file [https://www.freebsd.org/cgi/man.cgi?query=rc.conf&apropos=0&sektion=5&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html rc.conf] contains descriptive information about the local host name, configuration details for any potential network interfaces and |
which services should be started up at system initial boot time. In new installations, the rc.conf file is generally initialized by the system installation utility. | which services should be started up at system initial boot time. In new installations, the rc.conf file is generally initialized by the system installation utility. | ||
|- | |- | ||
− | |/etc/ | + | |/etc/rc.conf.ghostbsd||GhostBSD specific like the file [https://www.freebsd.org/cgi/man.cgi?query=rc.conf&apropos=0&sektion=5&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html /etc/rc.conf.local], is used to override settings in /etc/rc.conf for historical reasons. |
|- | |- | ||
− | |/etc/ | + | |/etc/rc.devd||This file is part of OpenRC.[https://github.com/OpenRC/openrc/blob/master/etc/rc.devd] |
|- | |- | ||
|/etc/rc.dynamicdiskless||[https://reviews.freebsd.org/D18578 OpenRC for FreeBSD] | |/etc/rc.dynamicdiskless||[https://reviews.freebsd.org/D18578 OpenRC for FreeBSD] |