Difference between revisions of "/etc/"

From GhostBSD Wiki
Jump to: navigation, search
(Files)
(=Directories)
Line 7: Line 7:
 
==Content==
 
==Content==
  
===Directories==
+
===Directories===
  
 
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px"  
 
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000;text-align:left;padding: 10px"  

Revision as of 14:01, 31 January 2020

Welcome to Icon Disti GhostBSD.png /etc/.

Introduction

Here we find system configuration files and scripts.

Content

Directories

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

Files

Files Description
/etc/aliases link to mail/aliasses
/etc/amd.map
/etc/auto_master
/etc/blacklistd.conf
/etc/crontab
/etc/csh.cshrc
/etc/csh.login
/etc/csh.logout
/etc/ddb.conf
/etc/devd.conf
/etc/devd-openrc.conf
/etc/devfs.conf
/etc/devfs.rules
/etc/dhclient.conf
/etc/dhcpcd.conf
/etc/disktab
/etc/dumpdates
/etc/fbtab
/etc/freebsd-update.conf
/etc/fstab
/etc/ftpusers
/etc/gettytab
/etc/group
/etc/hostid
/etc/hosts
/etc/hosts.allow
/etc/hosts.equiv
/etc/hosts.lpd
/etc/hosts-e
/etc/inetd.conf
/etc/libalias.conf
/etc/libmap.conf
/etc/localtime
/etc/locate.rc
/etc/login.access
/etc/login.conf
/etc/login.conf.db
/etc/mac.conf
/etc/mail.rc
/etc/master.passwd
/etc/motd
/etc/netconfig
/etc/netstart
/etc/network.subr
/etc/networks
/etc/newsyslog.conf
/etc/nscd.conf
/etc/nsmb.conf
/etc/nsswitch.conf
/etc/ntp.conf
/etc/openrc
/etc/openrc.shutdown
/etc/opieaccess
/etc/opiekeys
/etc/passwd
/etc/pccard_ether
/etc/pf.os
/etc/phones
/etc/pkgbase.setup
/etc/portsnap.conf
/etc/printcap
/etc/profile
/etc/protocols
/etc/pwd.db
/etc/rc
/etc/rc.bsdextended
/etc/rc.conf
/etc/rc.conf.ghostbsd
/etc/rc.devd
/etc/rc.dynamicdiskless
/etc/rc.firewall
/etc/rc.initdiskless
/etc/rc.resume
/etc/rc.sendmail
/etc/rc.shutdown
/etc/rc.subr
/etc/rc.suspend
/etc/regdomain.xml
/etc/remote
/etc/resolv.conf
/etc/rmt Link to /usr/sbin/rmt
/etc/rpc
/etc/services
/etc/shells
/etc/snmpd.config
/etc/spwd.db
/etc/sysctl.conf
/etc/syslog.conf
/etc/termcap Link to /usr/misc/termcap
/etc/termcap.small
/etc/ttys
Back to Icon Disti GhostBSD.pngDirectory Structure