Difference between revisions of "/etc/"

From GhostBSD Wiki
Jump to: navigation, search
(Content)
Line 12: Line 12:
 
! scope="col" style="width: 350px;"|'''Description'''
 
! scope="col" style="width: 350px;"|'''Description'''
 
|-
 
|-
|defaults/ ||default system configuration files; see [https://www.freebsd.org/cgi/man.cgi?query=rc&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports rc(8)]
+
|/etc/autofs
 +
|
 
|-
 
|-
|bluetooth/|| bluetooth configuration files
+
|/etc/bluetooth/|| bluetooth configuration files
 
|-
 
|-
|localtime  ||local timezone information; see [https://www.freebsd.org/cgi/man.cgi?query=ctime&sektion=3&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports ctime(3)]
+
|/etc/conf.d||
 
|-
 
|-
|mail/   ||Sendmail control files
+
|/etc/cron.d||
 
|-
 
|-
|mtree/   ||mtree configuration files; see [https://www.freebsd.org/cgi/man.cgi?query=mtree&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports mtree(8)]
+
|/etc/defaults/  ||default system configuration files; see [https://www.freebsd.org/cgi/man.cgi?query=rc&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports rc(8)]
 
|-
 
|-
|pam.d/   ||configuration files for the Pluggable Authentication Modules (PAM) library
+
|/etc/devd||
 
|-
 
|-
|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/devd-openrc||
 
|-
 
|-
|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/dma||
 
|-
 
|-
|security/ ||OpenBSM audit configuration files; see [https://www.freebsd.org/cgi/man.cgi?query=audit&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports audit(8)]
+
|/etc/gss||
 
|-
 
|-
|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/init.d||
 
|-
 
|-
|ssh/   ||OpenSSH configuration files; see [https://www.freebsd.org/cgi/man.cgi?query=ssh&sektion=1&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports ssh(1)]
+
|/etc/libmap.d||
 
|-
 
|-
|ssl/   ||OpenSSL configuration files
+
|/etc/local.d||
 +
|-
 +
|/etc/mail/   ||Sendmail control files
 +
|-
 +
|/etc/man.d||
 +
|-
 +
|/etc/mtree/   ||mtree configuration files; see [https://www.freebsd.org/cgi/man.cgi?query=mtree&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports mtree(8)]
 +
|-
 +
|/etc/newsyslog.conf.d||
 +
|-
 +
|/etc/ntp||
 +
|-
 +
|/etc/pam.d/   ||configuration files for the Pluggable Authentication Modules (PAM) library
 +
|-
 +
|/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||
 +
|-
 +
|/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||
 +
|-
 +
|/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||
 +
|-
 +
|/etc/security/  ||OpenBSM audit configuration files; see [https://www.freebsd.org/cgi/man.cgi?query=audit&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports audit(8)]
 +
 
 +
|-
 +
|/etc/ssh/   ||OpenSSH configuration files; see [https://www.freebsd.org/cgi/man.cgi?query=ssh&sektion=1&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports ssh(1)]
 +
|-
 +
|/etc/ssl/   ||OpenSSL configuration files
 +
|-
 +
|/etc/sysctl.d||file: /etc/sysctl.d/README: Kernel system variables configuration files
 +
 
 +
Files found under the /etc/sysctl.d directory that end with .conf are
 +
parsed within sysctl(8) at boot time.  If you want to set kernel variables
 +
you can either edit /etc/sysctl.conf or make a new file.
 +
 
 +
The filename isn't important, but don't make it a package name as it may clash
 +
with something the package builder needs later. The file name must end
 +
with .conf, or it will not be read.
 +
 
 +
The recommended location for local system settings is /etc/sysctl.d/local.conf
 +
but as long as you follow the rules for the name of the file, anything will
 +
work. see the sysctl.conf(5) man page for details of the format.
 +
|-
 +
|/etc/syslog.d||content 3 files:
 +
* /etc/syslog.d/ftp.conf;
 +
* /etc/syslog.d/lpr.conf;
 +
* /etc/syslog.d/ppp.conf
 +
|-
 +
|/etc/unbound||link to /var/unbound
 +
|-
 +
|/etc/X11||no content
 +
|-
 +
|/etc/zfs||no content
 
|-
 
|-
 
!colspan="2"|'''Back to ''' [[image:Icon Disti GhostBSD.png|50px|link=Directory Structure]]'''Directory Structure'''
 
!colspan="2"|'''Back to ''' [[image:Icon Disti GhostBSD.png|50px|link=Directory Structure]]'''Directory Structure'''

Revision as of 12:51, 31 January 2020

Welcome to Icon Disti GhostBSD.png /etc/.

Introduction

Here we find system configuration files and scripts.

Content

Directory Description
/etc/autofs
/etc/bluetooth/ bluetooth configuration files
/etc/conf.d
/etc/cron.d
/etc/defaults/ default system configuration files; see rc(8)
/etc/devd
/etc/devd-openrc
/etc/dma
/etc/gss
/etc/init.d
/etc/libmap.d
/etc/local.d
/etc/mail/ Sendmail control files
/etc/man.d
/etc/mtree/ mtree configuration files; see mtree(8)
/etc/newsyslog.conf.d
/etc/ntp
/etc/pam.d/ configuration files for the Pluggable Authentication Modules (PAM) library
/etc/periodic/ scripts that are run daily, weekly, and monthly, via cron(8); see periodic(8)
/etc/pkg
/etc/ppp/ ppp configuration files; see ppp(8)
/etc/rc.conf.d
/etc/rc.d/ system and daemon startup/control scripts; see rc(8)
/etc/runlevels
/etc/security/ OpenBSM audit configuration files; see audit(8)
/etc/ssh/ OpenSSH configuration files; see ssh(1)
/etc/ssl/ OpenSSL configuration files
/etc/sysctl.d file: /etc/sysctl.d/README: Kernel system variables configuration files

Files found under the /etc/sysctl.d directory that end with .conf are parsed within sysctl(8) at boot time. If you want to set kernel variables you can either edit /etc/sysctl.conf or make a new file.

The filename isn't important, but don't make it a package name as it may clash with something the package builder needs later. The file name must end with .conf, or it will not be read.

The recommended location for local system settings is /etc/sysctl.d/local.conf but as long as you follow the rules for the name of the file, anything will work. see the sysctl.conf(5) man page for details of the format.

/etc/syslog.d content 3 files:
  • /etc/syslog.d/ftp.conf;
  • /etc/syslog.d/lpr.conf;
  • /etc/syslog.d/ppp.conf
/etc/unbound link to /var/unbound
/etc/X11 no content
/etc/zfs no content
Back to Icon Disti GhostBSD.pngDirectory Structure