The /etc directory contains host-specific system files and programs used for
administration and configuration.
These files include:
- /etc/acl.conf
- Specifies permitted operations on a defined SNMP context. See
/etc/acl.conf
in the Utilities Reference.
- /etc/autoconnect
- Automatic TCP/IP connection-configuration script. See
/etc/autoconnect
in the Utilities Reference.
- /etc/bootptab
- Network boot protocol server configuration file. See
/etc/bootptab
in the Utilities Reference.
- /etc/config/
- A directory that contains system-configuration files, such as the
ttys file that
tinit
uses to configure terminal devices.
- /etc/context.conf
- Context definitions for SNMP v2. See
/etc/context.conf
in the Utilities Reference.
- /etc/default/
- A directory that contains default configuration files, primarily for TCP/IP facilities.
- /etc/dhcpd.conf
- Dynamic Host Configuration Protocol configuration; see
/etc/dhcpd.conf
in the Utilities Reference.
- /etc/ftpd.conf
- Specifies configuration options for
ftpd
that apply once you've authenticated your connection. See
../../com.qnx.doc.neutrino.utilities/topic/f/ftpd.conf.html
in the Utilities Reference.
- /etc/ftpusers
- Defines users who may access the machine via the File Transfer Protocol. See
/etc/ftpusers
in the Utilities Reference.
- /etc/group
- User account group definitions; see
Managing User Accounts.
- /etc/hosts
- Network hostname lookup database; see
also
/etc/nsswitch.conf and
/etc/resolv.conf, below. See
/etc/hosts
in the Utilities Reference.
- /etc/inetd.conf
- Internet super-server configuration file that defines Internet services that
inetd
starts and stops dynamically as needed.
Note:
The descriptions in the default version of this file are commented out;
uncomment the ones that you want to use. See
/etc/inetd.conf
in the
Utilities Reference.
- /etc/mib.txt
- Defines the format for specifying variable names for SNMP utilities; see
/etc/mib.txt
in the Utilities Reference.
- /etc/motd
- Contains an ASCII message of the day that may be displayed when users log in, as
long as /etc/profile is configured to display it.
The default /etc/profile displays this
file only if the /etc/motd file is more recent than the
time you last logged in to the system, as determined by the time your
$HOME/.lastlogin file was last modified. For
more information, see the description of
/etc/profile
in Configuring Your Environment.
- /etc/networks
- Network name database file. For more information, see
/etc/networks
in the Utilities Reference.
- /etc/nsswitch.conf
- Name-service switch configuration file. For more information, see
/etc/nsswitch.conf
in the Utilities Reference.
- /etc/opasswd
- Backup of /etc/passwd file before its last change via the
passwd
utility. See the
Managing User Accounts
chapter.
- /etc/oshadow
- Backup of /etc/shadow file before its last change via the
passwd
utility. See
Managing User Accounts.
- /etc/party.conf
- Configuration file for SNMP v2 party definitions. See
/etc/party.conf
in the Utilities Reference for more details.
- /etc/passwd
- This file defines login accounts. See the chapter
Logging In, Logging Out, and Shutting Down, as well as
Managing User Accounts
for more details; also see
passwd,
login
in the Utilities Reference.
- /etc/profile
- The startup profile script executed by the shell when you log in; it's executed before
$HOME/.profile. See
Configuring Your Environment.
- /etc/profile.d/
- A directory where the default /etc/profile script looks for
scripts to run when any user logs in. The /etc/profile
script runs each script in this directory that matches
*.$(SHELL##*/}. For example, if the value of the
SHELL environment variable is /bin/sh,
the script runs the scripts that match *.sh.
- /etc/rc.d/
- A directory where you usually keep local system-initialization files.
For more information, see the description of
/etc/system/sysinit in Controlling How Neutrino Starts.
- /etc/resolv.conf
- Resolver configuration file; see also /etc/hosts, above.
See
/etc/resolv.conf
in the Utilities Reference.
- /etc/skel/
- A directory that holds the default version of .profile.
When you add a new user to the system, this file is copied to the user's home
directory. For more information, see the description of
/etc/default/passwd in the documentation for
passwd,
and the description of
.profile
in Configuring Your Environment.
- /etc/system/
- A directory that includes files and directories used when you boot the system, including:
For more information, see the
Controlling How Neutrino Starts chapter.