Parsing the boot program configuration file in Linux

Source: Internet
Author: User
Article Title: parsing the boot loader configuration file in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Start the boot program configuration file

LILO/etc/lilo. conf

GRUB/boot/grub/menu. lst

System Startup File core script

Master startup control file/etc/inittab

SysV STARTUP script location/etc/init. d,/etc/rc. d/init. d or/etc/rc. d

Location of the SysV STARTUP script link/etc/init. d/rc ?. D,/etc/rc. d/rc ?. D or/etc/rc ?. D

Local STARTUP script/etc/rc. d/rc. local,/etc/init. d/boot. local, or files in/etc/rc. boot

Network Configuration File

Create a Network Interface script/sbin/ifup

Directory for Saving network configuration data files:/etc/network,/etc/sysconfig/network, and/etc/sysconfig/network-scripts

Save the DNS resolution file/etc/resolv. conf

DHCP Client configuration file/etc/dhclient. conf

Super Service Program configuration file and directory

Inetd configuration file/etc/inetd. conf

TCP Wrappers configuration file/etc/hosts. allow and/etc/hosts. deny

Xinetd configuration file/etc/xinetd. conf and files in the/etc/xinetd. d directory

Hardware configuration

Kernel module configuration file/etc/modules. conf

Hardware Access File

Linux Device File/dev directory

File/proc directory for storing hardware and driver data

Scanner configuration file

SANE main configuration/etc/sane. d/dll. conf

File named after the scanner model in the/etc/sane. d directory of a specific scanner

Printer configuration file

Bsd lpd core LPRng local printer master configuration file/etc/printcap

CUPS local printer master configuration and remote access to the authorized file/etc/cups/cupsd. conf

Bsd lpd Remote Access to authorized files/etc/hosts. lpd

LPRng remote access to authorized files/etc/lpd. perms

File System

File System Table/etc/fstab

Soft drive assembly point/floppy,/mnt/floppy or/media/floppy

Optical drive assembly point/cdrom,/mnt/cdrom or/media/cdrom

Shell configuration file

Bash system non-Logon configuration file/etc/bashrc,/etc/bash. bashrc or/etc/bash. bashrc. local

Bash system logon files in/etc/profile and/etc/profile. d

Bash user non-Logon configuration file ~ /. Bashrc

Bash User Logon configuration file ~ /. Profile

XFree86 configuration file core directory

XFree86 master profile/etc/XF86config,/etc/X11/XF86Config or/etc/X11/XF86Config-4

Font Service Program configuration file/etc/X11/fs/config

Xft 1. x configuration file/etcX11/XftConfig

Xft 2.0 configuration file/etc/fonts. conf

Font directory/usr/X11R6/lib/X11/fonts and/usr/share/fonts

Web service program configuration file

The httpd. conf or httpd2.conf files in the Apache main configuration file/etc/apache,/etc/httpd or/httpd/conf

MIME. types or apache-mime.types in the same directory as the Apache Master configuration file

File Service Program configuration file

ProFTPd configuration file/etc/proftpd. conf

Vsftpd configuration file/etc/vsftpd. conf

NFS service program output definition file/etc/exports

NFS output assembled by the NFS client/etc/fstab

Samba configuration file/etc/samba/smb. conf

Samba user configuration file/etc/samba/smbpasswd

Mail service program configuration file

Sendmail main configuration file/etc/mail/sendmail. cf

Sendmail source configuration file/etc/mail/sendmail. mc or/usr/share/sendmail/cf/linux. smtp. mc or other files

Postfix master configuration file/etc/postfix/main. cf

Exim main configuration file/etc/exim. cf

Procmail configuration file/etc/procmailrc or ~ /. Procmailrc

Fetchmail configuration file ~ /. Fetchmailrc

Remote logon configuration file

SSH service program configuration file/etc/ssh/sshd_config

SSH client configuration file/etc/ssh/ssh_config

XDM configuration file/etc/X11/xdm directory

The Directory of the configuration file/etc/X11/MCM is

VNC service program configuration file/usr/X11R6/bin/vncserver STARTUP script and ~ /. Files in the vnc directory

Other service program configuration files

DHCP service program configuration file/etc/dhcpd. conf

BIND service program configuration file/etc/named. conf and/var/named/

NTP service program configuration file/etc/ntp. conf

Main files in Linux

Http://www.linuxsir.org/bbs/showthr...threadid=131580

Bash configuration file Experiment

Http://www.linuxsir.org/bbs/showthr...%FE%CA%B5%D1%E9

How do I set hosts. allow and hosts. deny?

Http://www.linuxsir.org/bbs/showthr...ght=hosts.allow

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.