Linux System Configuration file/etc/sysconfig detailed __linux

Source: Internet
Author: User
Tags ldap local time md5 string format time interval iptables

Linux system configuration file/etc/sysconfig-Cheung Solution

If some of the files listed here do not appear in your/etc/sysconfig/directory, the corresponding program may not be installed. These files are described separately here, with a general description of these profiles, and, if you want to see their full contents, check their man pages.

(1)/ETC/SYSCONFIG/AMD

The content of this file is to enable the AMD daemon to provide its various parameters that allow this process to automatically mount or uninstall the file system.

(2)/ETC/SYSCONFIG/APMD

Configuration files used by Advanced power management.

(3)/etc/sysconfig/arpwatch

This file is the configuration file for the Arpwatch daemon, and the Arpwatch daemon will use some sections of the file when the system starts. The Arpwatch process is primarily used to maintain a corresponding table of Mac and IP addresses.

(4)/etc/sysconfig/authconfig

The content in this file is used by the host for authentication. There may be a configuration item in this file that looks like this:

usemd5=<value>:<value> can be one of the following values:

yes-use MD5 mode certification;

No-does not use the MD5 method authentication.

Usekerberos=<value>:<value> can be one of the following values:

yes-using Kerberos Authentication

No-does not use Kerberos authentication

Useldapauth=<value>:<value> can be one of the following values:

yes-uses LDAP authentication

No-does not use LDAP authentication

(5)/etc/sysconfig/autofs

This file defines the options that are used to automatically mount the device, including NFS file systems, CD-ROMs, diskttes, or other media, and the file is listed as follows:

localoptions= "<value>":<value> is a string format used to define automatic mount rules, and the default is null.

The daemonoptions= "<value>":<value> value is used to set the length of time (in seconds) before unloading the device, and the default is 60S.

Underscoretodot=<value>:<value> is a binary value that controls whether the download line is converted to a point, for example: Auto_home to Auto.home, default 1, which is allowed.

The disable_direct=<value>:<value> value is binary, which is used to set whether direct connection support can be prevented by default of 1, which is allowed.

(6)/etc/sysconfig/clock

This file is used to control the interpretation of values read from the system hardware clock, with the following values below:

Utc=<value>:<value> can be one of the following values:

True or yes-hardware clock is set to universal format

False or no-hardware clock is local time

Arc=<value>:<value> for the following values:

True or yes-the hardware clock is used only for HRC or Hlphabios systems when this value is set

False or no-the hardware clock is used only for UNIX systems when this value is set

Srm=<value>:<value> for the following values:

Yes or true-setting the system time starting from 1900, this value is only for srm-based Alpha systems

No or false-setting for this value is used for normal Unix

Zone=

(7)/etc/sysconfig/desktop

When you use the Run Level 5 o'clock, this file specifies the desktop and runs the display manager for the new user. The content might look like this:

desktop= "<value>":<value> can be one of the following values:

gnome-using the GNOME desktop environment

kde-using KDE desktop environment

Displayanager= "<value>":<value> can be one of the following values:

Gnome-Using GNOME display manager

kde-using KDE display Manager

xdm-Use XDM display Manager

(8)/etc/sysconfig/devlabel

This file is a device label profile and you can set this file by using the/sbin/devlabel command to modify the value of the specified item, without having to manually edit the settings.

(9)/ETC/SYSCONFIG/DHCPD

This file content provides some extents for the dhcpd daemon to be used during system boot, and the DHCPD daemon uses DHCP and BOOTP protocols to automatically assign IP addresses to the host. For more detailed instructions, refer to the DHCPD help page.

(a)/etc/sysconfig/exim

This file allows information to be sent to one or more customers if the network needs to be able to route this information. Its contents are as follows:

Daemon=<value>:<value> can be one of the following values:

Yes-exim will be configured to monitor incoming information in port 25

No-exim not listening on port 25.

queue=1h Define Send time interval

(one)/etc/sysconfig/firstboot

This file is the configuration file for the Firstboot daemon.

(/ETC/SYSCONFIG/GPM)

This file is provided to the GPM daemon through some segments of its content to be used by the system boot. GPM process for the mouse service, this file contains some mouse-related, such as the number of mouse keys, interface information and so on.

(/etc/sysconfig/harddisks)

The contents of this file are the parameters of the installed hard disk in the system. The contents are listed below:

Use_dma=1: Set whether the hard drive uses DMA, the value is 1, and 0 is not used.

Multiple_io=16: When this setting value is 16 o'clock, allow each I/O interrupt to read multiple sectors. Setting this value can reduce the system overhead of 30%-50%, but use this item with caution, and the default is prohibit.

Eide_32bit=3: Set this value to 3 o'clock find out (E) IDE32 bit i/0 support, default prohibit.

Lookahead=1: Setting this entry to 1 allows driver read-lookahead to work, which is prohibited by default.

Extra_params=specifits: Specifies the parameter of the EXTRA, which defaults to none (no parameters).

(/etc/sysconfig/hwconf)

This file contains a list of all kudzu detected hardware in the system that should not be edited manually, and the device will be added or deleted immediately if the contents of the file are changed.

(/etc/sysconfig/i18n)

This file content is used to set the default language, other supported languages, and default system fonts, for example:

Lang= "En_us,utf-8"

Supported= "En_us,utf-8!en_us:en"

Sysfont= "Latareycreb-sun16"

(/etc/sysconfig/init)

The content in this file is used to control display and other features during system boot. Its contents can be as follows:

Bootup=<value>:<value> can be one of the following values:

color-When this value is set, a different color is displayed when the device initializes successfully or fails.

verbise-sets this value to an old display style that provides information such as success or failure

The res_col=<value>:<value> content is the number of columns of information displayed in a digitally represented screen, with the default of 60.

The value set by Move_to_col=<value>:<value> is the number of columns moved when the cursor is moved.

Echo_en: This command sets the number of rows that are moved by using the echo-en command cursor.

The value set by setcolor_success=

The value set by setcolor_tailure=<value>:<value> is used to set the color that is displayed when the Echo-en command is wrong, and the default is red.

The value set by setcolor_warning=<value>:<value> is used to set the color of the Echo-en command warning, which defaults to yellow.

The setcolor_normal=<value>:<value> setting is used to set the Echo-en command in general mode when the color is "NORMAL".

Loglevel=<value>:<value> sets the kernel initialization logging hierarchy by default of 3, set to 8 when setting logging of all aspects of log information, including debugging information, set to 1 to record only kernel panics information , the syslogd daemon reads this file when it is started.

Prompt=<value>:<value> is one of the following values:

yes-Setting this value allows interactive mode display to start with a key

no-Setting this value does not allow you to interact with a key

(/etc/sysconfig/ip6tables-config)

The content saved in this file is used for the kernel when the Ip6tables service starts or sets the IPV6 filtering rules. Do not edit the contents of this file directly unless you are familiar with the structure and rules of the ip6tables. A rule can be created by using the/sbin/ip6tables command, and save the rule to the/etc/sysconfig/ip6tables file by saving the rule using this command: Service Ip6tables Save

Once all the rules have been saved in the/etc/sysconfig/ip6tables file, the system IPV6 Firewall is set up by reading the rules in this file when the Ip6tables service starts or the system starts.

(km)/etc/sysconfig/iptables-config

The content saved in this file is used for the kernel when the Iptables service starts or sets the IPV4 filtering rules. Do not edit the contents of this file directly unless you are familiar with the structure and rules of the iptables. A rule can be created by using the/sbin/iptables command, and save the rule to the/etc/sysconfig/iptables file by saving the rule using this command: Service iptables save

Once all the rules have been saved in the/etc/sysconfig/iptables file, the system IPV4 Firewall is set up by reading the rules in this file when the Iptables service starts or the system starts.

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.