1.1/ETC/PASSWD File Content FormatThis directory stores the operating system user information, which is visible to all usersUser name: Password: uid:gid: User description: Home directory: Login ShellAs an example: You can see that the/etc/passwd
One,/etc/passwd is the user database, where the domain gives the user name, encryption password and other information of the userThe record line in the/etc/shadow file corresponds to one by one in/etc/passwd, which is automatically generated by the
One,/etc/passwd is the user database, where the domain gives the user name, encryption password and other information of the userThe record line in the/etc/shadow file corresponds to one by one in/etc/passwd, which is automatically generated by the
Analysis of/etc/profile,/etc/bashrc, ~ in linux ,~ /. Bash_profile ,~ /. Bashrc file/etc/profile: This file sets the environment information for each user in the system. when the user logs on for the first time, the file is executed. and
1. User File:/etc/passwd
[Root @ pinfun6 ~] # Cat/etc/passwdroot: x: 0: 0: root:/root: /bin/bash 1 2 3 4 5 6 7 | -- the default SHELL used by the user ||||| | -- the user's home directory | -- User finger information (comment information) | -- User
The original site is as follows:
http://leejia.blog.51cto.com/4356849/788895
/etc/inittab Document Detailed
The Linux boot process is: Power On self-test--> boot--> from a specified device, based on the settings in the BIOS locate the bootloader
Recently, because of the Linux development with teammates, because not the same version of Linux (he used the arch, I use Ubuntu), and then often the configuration is not the same, as the Inittab file, and then delve into the reason:The Linux kernel
/Etc/profile: This file sets the environment information for each user in the system. When the user logs on for the first time, the file is executed and starts from/etc/profile. the configuration file in the d directory Collects shell
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.