Password files for Linux user-related files

Source: Internet
Author: User

1. File Address:
/etc/shadow
----------. 1 root root 842 October 6 13:09/etc/shadow
2. Contents of the file:
Xiaol_1:$6$ndcank3y$ypnzihlxfkrohbzd:17080:0:99999:7:::
3. Information meaning:
1th field: Name of the user
2nd field: Encrypt password
Encryption algorithm for SHA512 algorithm
If the password bit is "!!" or "*" means you cannot log in
3rd field: Password Last modified date
Use January 1, 1970 as standard Time, every day time stamp plus 1
4th field: Two times password change interval
Compared to the 3rd field
5th field: Password expiration
Compared to the 3rd field
6th field: Number of warning days before password modification expires
Compared to the 5th field
7th field: Days of grace after password expiration
Compared to the 5th field
-1 Password Never expires
0 expire immediately after password expires
8th field: Account Expiration time
Time stamp representation
9th field: Reserved
4. Time Stamp conversion:
Date-d "1970-01-01 17080 Days"

Password files for Linux user-related files

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.