etc under Linux

Source: Internet
Author: User

/etc

ETC is not what abbreviation, is and so on the meaning of the French from the ET cetera translated into Chinese is to wait for the meaning. As for why to store the configuration file under/etc, according to the original UNIX (Linux file Structure reference UNIX teaching implementation Minix) This is a bunch of bits and pieces, called etc, this is actually a history left.

This directory is typically used to store the entire file system configuration file required by the program.

/etc Directory
Contains many files. Many network configuration files are also in/etc.

/ETC/RC OR/ETC/RC.D OR/ETC/RC*.D
The directory of scripts or scripts that is running when the run level is started, or changed.

/etc/passwd
User database, where the domain gives the user name, real name, home directory, encrypted password, and other information of the user.

/etc/fdprm
Floppy disk parameter table. Describes the different floppy format. Set with SETFDPRM.

/etc/fstab
A list of file systems that automatically mount the mount-a command (in/ETC/RC or equivalent startup file) at startup. Linux, also includes information about the swap area enabled with SWAPON-A.

/etc/group
Similar to/etc/passwd, but not the user but the group.

/etc/inittab
The configuration file for init.

/etc/issue
Getty the output information before the logon prompt. Usually includes a short description of the system or welcome information. The content is determined by the system administrator.

/etc/magic
File's profile. Contains a description of the different file formats, based on which file is guessed.

/etc/motd
Message of Theday, automatic output after successful login. The content is determined by the system administrator. Often used to advertise information, such as a warning to schedule shutdown time.

/etc/mtab
List of currently installed file systems. Initialized by scripts and updated automatically by the Mount command. A list of currently installed file systems is required, such as the DF command.

/etc/shadow
The shadow password file on the system on which the shadow password software is installed. The shadow password file moves the encrypted password in the/etc/passwd file to/etc/shadow, which is only readable by the root. This makes it more difficult to decipher the password.

/etc/login.defs
The configuration file for the login command.

/etc/printcap
Similar to/etc/termcap, but for printers. syntax is different.

/etc/profile,/etc/csh.login,/ETC/CSH.CSHRC
Files that are executed by Bourne or Cshells at logon or startup. This allows the system administrator to establish a global default environment for all users.

/etc/securetty
Confirm the security terminal, that is, which terminal allows root login. Typically only virtual consoles are listed, which makes it impossible (at least difficult) to break into the system via modem or network and gain superuser privileges.

/etc/shells
The list of trusted SHELL.CHSH commands allows the user to change the login shell within the scope specified in this file. Provides a service process for a machine FTP service FTPD checks whether the user shell is listed in the/etc/shells file, if the user is not allowed to log on.
/etc/termcap
Terminal Performance database. Describes what "escape sequence" controls are used by different terminals. Instead of outputting the escape sequence directly (so that it works only with a particular brand of terminal), it looks for the correct sequence of work to be done from/etc/termcap. Thus, most programs can run on most terminals

etc under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.