Linux Systems-User management-Concepts and principles

Source: Internet
Author: User

Linux Systems-User management-Concepts and principlesA related concept
1/etc/passwd file Format: User name: Password bit: User identification number: Group identification number: Comment and other related description: Host directory: Default shell, column such as chengzhi:x:500:500:chengzhi-centos:/home/ Chengzhi:/bin/shell
2/etc/shadow file Format: User name: MD5 encrypted password (MD5 is one-way irreversible algorithm, fixed length): Last Modified time: Maximum time interval: Minimum time interval: warning Time: Idle time: Invalid file: Flag, previous two items are more important, the following understanding can be
3/etc/group file Format: User group: Group password (typically not used): Group ID (GID): List of users
4 Types of Linux users:superuser: Root user (uid=0)Pseudo-User: (uid=1~499) users associated with system processes and services, such as BIN,FTP, do not have a host directory, and typically do not log on to the systemNormal User: (uid=500~60000)
5 user groups:A user can contain multiple groupsEach group can contain multiple usersusers within a group have the same permissions
6/etc/passwd files and/etc/shadow files are user password files of Linux system, it is necessary to understand them, you can edit them to add ordinary users
two my_qq 872785786 and the corresponding network disk data link: Http://pan.baidu.com/s/1ydewA Password: Kaek
Welcome to Exchange Learning-Android embedded development, for more information, please contact me-sharing spirit

Linux Systems-User management-Concepts and principles

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.