Difference between revisions of "/etc/"

From GhostBSD Wiki
Jump to: navigation, search
(Files)
(Files)
Line 118: Line 118:
 
|/etc/devfs.conf||The [https://www.freebsd.org/cgi/man.cgi?query=devfs.conf&sektion=5&n=1 devfs.conf] file provides an easy way to set ownership and permissions, or create links for devices available at boot. It does not work for devices plugged in and out after the system is up and running, e.g. USB devices.  See [https://www.freebsd.org/cgi/man.cgi?query=devfs.rules&sektion=5&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports devfs.rules(5)] for setting ownership and permissions for all device nodes, and devd.conf(5) for actions to be    taken when devices are attached or detached.
 
|/etc/devfs.conf||The [https://www.freebsd.org/cgi/man.cgi?query=devfs.conf&sektion=5&n=1 devfs.conf] file provides an easy way to set ownership and permissions, or create links for devices available at boot. It does not work for devices plugged in and out after the system is up and running, e.g. USB devices.  See [https://www.freebsd.org/cgi/man.cgi?query=devfs.rules&sektion=5&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports devfs.rules(5)] for setting ownership and permissions for all device nodes, and devd.conf(5) for actions to be    taken when devices are attached or detached.
 
|-
 
|-
|/etc/[https://www.freebsd.org/cgi/man.cgi?query=devfs.rules&sektion=5&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports devfs.rules]||The devfs.rules file provides an easy way to create and apply [https://www.freebsd.org/cgi/man.cgi?query=devfs&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports devfs(8)] rules, even for devices that are not available at boot.
+
|/etc/ devfs.rules||The [https://www.freebsd.org/cgi/man.cgi?query=devfs.rules&sektion=5&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports devfs.rules] file provides an easy way to create and apply [https://www.freebsd.org/cgi/man.cgi?query=devfs&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports devfs(8)] rules, even for devices that are not available at boot. For devices available at boot, see [[https://www.freebsd.org/cgi/man.cgi?query=devfs.conf&sektion=5&n=1 devfs.conf(5)].
 
|-
 
|-
|/etc/dhclient.conf||
+
|/etc/dhclient.conf||The [ttps://www.freebsd.org/cgi/man.cgi?query=dhclient.conf&apropos=0&sektion=5&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html dhclient.conf] file contains configuration information for [https://www.freebsd.org/cgi/man.cgi?query=dhclient&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports dhclient(8)], the Internet Software Consortium DHCP Client.
 
|-
 
|-
|/etc/dhcpcd.conf||
+
|/etc/dhcpcd.conf||The [https://www.freebsd.org/cgi/man.cgi?query=dhcpcd.conf&apropos=0&sektion=5&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html dhcpcd.conf] is a dhcpcd configuration fileAlthough dhcpcd can do everything from the command line, there are cases where it's just easier to do it once in a configuration file.  Most of the options found in [https://www.freebsd.org/cgi/man.cgi?query=dhcpcd&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports dhcpcd(8)] can be used here.  The first word on the    line is the option and the rest of the line is the value. Leading and      trailing whitespace for the option and value are trimmed. You can escape      characters in the value using the \ character.  Comments can be prefixed with the <nowiki>#</nowiki>character.  String values should be quoted with the " character.
 
|-
 
|-
 
|/etc/disktab||
 
|/etc/disktab||

Revision as of 10:37, 1 February 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. Refer to rc(8) for details.
/etc/devd
/etc/devd-openrc
/etc/dma
/etc/gss
/etc/init.d
/etc/libmap.d
/etc/local.d
/etc/mail/ Configuration files for mail transport agents such as sendmail(8).
/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
/etc/syslog.d content 3 files:
  • /etc/syslog.d/ftp.conf; contains: ftp.info /var/log/xferlog
  • /etc/syslog.d/lpr.conf; contains: lpr.info /var/log/lpd-errs
  • /etc/syslog.d/ppp.conf; contains: !ppp*.* /var/log/ppp.log
/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 FreeBSD has the ability to automatically mount and unmount NFS filesystems upon demand through the automounter daemon, amd(8). See its man page for details.
/etc/auto_master The automounter configuration consists of the auto_master configuration file, which assigns filesystem paths to map names, and maps, which contain actual mount information and any direct maps that it references, and mounts or unmounts autofs(5) filesystems to match. The auto_master configuration file is used by the automount(8) command. Map files are read by the automountd(8) daemon.
/etc/blacklistd.conf The blacklistd.conf files contains configuration lines for blacklistd(8). It contains one entry per line, and is similar to inetd.conf(5). There must be an entry for each field of the configuration file, with entries for each field separated by a tab or a space.
/etc/crontab A crontab file contains instructions to the cron(8) daemon of the general form: ``run this command at this time on this date. Each user has their own crontab, and commands in any given crontab will be executed as the user who owns the crontab. Uucp and News will usually have their own crontabs, eliminating the need for explicitly running su(1) as part of a cron command.
/etc/csh.cshrc C shell with file name completion and command line editing. A login shell begins by executing commands from the system files /etc/csh.cshrc and /etc/csh.login
/etc/csh.login C shell with file name completion and command line editing
/etc/csh.logout C shell with file name completion and command line editing. When a login shell terminates it sets the logout shell variable to normal' or `automatic' as appropriate, then executes commands from the files /etc/csh.logout and ~/.logout.
/etc/ddb.conf The ddb reads the ddb.conf for instuructions. The ddb utility configures certain aspects of the ddb(4) kernel debugger from user space that are not configured at compile-time or easily via sysctl(8) MIB entries.
/etc/devd.conf Configuration file for 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 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/devfs.conf The devfs.conf file provides an easy way to set ownership and permissions, or create links for devices available at boot. It does not work for devices plugged in and out after the system is up and running, e.g. USB devices. See devfs.rules(5) for setting ownership and permissions for all device nodes, and devd.conf(5) for actions to be taken when devices are attached or detached.
/etc/ devfs.rules The devfs.rules file provides an easy way to create and apply devfs(8) rules, even for devices that are not available at boot. For devices available at boot, see [devfs.conf(5).
/etc/dhclient.conf The [ttps://www.freebsd.org/cgi/man.cgi?query=dhclient.conf&apropos=0&sektion=5&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html dhclient.conf] file contains configuration information for dhclient(8), the Internet Software Consortium DHCP Client.
/etc/dhcpcd.conf The dhcpcd.conf is a dhcpcd configuration fileAlthough dhcpcd can do everything from the command line, there are cases where it's just easier to do it once in a configuration file. Most of the options found in dhcpcd(8) can be used here. The first word on the line is the option and the rest of the line is the value. Leading and trailing whitespace for the option and value are trimmed. You can escape characters in the value using the \ character. Comments can be prefixed with the #character. String values should be quoted with the " character.
/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