Linux User Management

Source: Internet
Author: User

Linux User Management

User: UID,/etc/passwd

User group: GID,/etc/group

Shadow Password:

User password:/etc/shadow

User group Password:/etc/gshadow


User Category:

Admin: 0

Normal Users: 1-66535

System users: 1-499

General Users: 500-6000


User Group Category:

Private group: When you create a user, if you have a group that you specify, the system automatically creates a group with the same name as the user

Basic Group

Additional groups

Encryption method:

Symmetric encryption: Encrypt and decrypt using the same password

Public Key cryptography: each password appears in pairs, one for the private key (secret key) and one for the public key

One-way encryption/hash encryption: Extracting data signatures, often used for data integrity checks

1. Avalanche effect

2, fixed-length output

Md5:message digest,128 fixed-length output

Sha1:secure Hash algorithm,160 bit fixed length output


To create a user:

Useradd username

To create a user group:

Groupadd GroupName


This article is from the "Forget the Past" blog, please be sure to keep this source http://xujingbo.blog.51cto.com/4633099/1825891

Linux User Management

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.