Editing /etc/

Jump to: navigation, search

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 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/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/'''[[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/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/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/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))]
Line 32: Line 32:
 
|/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/'''[[init.d]]'''||All scripts to run [[OpenRC]] on GhostBSD are located here.  
+
|/etc/[[init.d]]||All scripts to run [[OpenRC]] on GhostBSD are located here.  
 
|-
 
|-
 
|/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/'''[[Pkg|pkg]]'''||This directory contains one file: /etc/pkg/GhostBSD.conf, the configuration file
+
|/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 repositories.  Default: /etc/pkg/, /usr/local/etc/pkg/repos/  
+
 
|-
 
|-
 
|/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/'''[[Rc.conf.d|rc.conf.d]]'''||Content on GhostBSD only 1 file: /etc/rc.conf.d/vmware.conf
+
|/etc/rc.conf.d||Content on GhostBSD only 1 file: /etc/rc.conf.d/vmware.conf
 
|-
 
|-
|/etc/'''[[Rc.d|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/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/'''[[Devd.conf|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.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/[https://gist.github.com/nileshgr/5990712 ipfw.rules]||set the firewall rules script; see also [[Firewall]]
 
 
|-
 
|-
 
|/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/'''[[OpenRC|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|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/'''[[Rc|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)].
+
|/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.
 
|-
 
|-
Line 267: Line 264:
 
  fi
 
  fi
 
|-
 
|-
|/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
+
|/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/'''[[Rc.conf.ghostbsd|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/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/'''[[Rc.devd|rc.devd]]'''||This file is part of OpenRC.[https://github.com/OpenRC/openrc/blob/master/etc/rc.devd]
+
|/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]

Please note that all contributions to GhostBSD Wiki are considered to be released under the Creative Commons Attribution (see GhostBSD Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)

Template used on this page: