/etc/shadow File Details

Source: Internet
Author: User

The/etc/shadow file is used to store the user's password in ciphertext form. The file is described in more detail below.

[[email protected] ~]# ls-l/etc/shadow# view file details

----------1 root root 908 December 18:20/etc/shadow

[[email protected] ~]# cat/etc/shadow# View the contents of the file

root:$6$uxt.2khv$z/tiqguvgwaa/kvgnj7gpaw5lentb.sas77yj.kszb0z1jjcnemgusy1djx6yw7qwyi7i4rjblgxyav7ezdgd/ : 17145:0:99999:7:::

Bin:*:15980:0:99999:7:::

Daemon:*:15980:0:99999:7:::

Adm:*:15980:0:99999:7:::

Lp:*:15980:0:99999:7:::

Sync:*:15980:0:99999:7:::

Shutdown:*:15980:0:99999:7:::

Halt:*:15980:0:99999:7:::

Mail:*:15980:0:99999:7:::

Uucp:*:15980:0:99999:7:::

Operator:*:15980:0:99999:7:::

Games:*:15980:0:99999:7:::

Gopher:*:15980:0:99999:7:::

Ftp:*:15980:0:99999:7:::

Nobody:*:15980:0:99999:7:::

dbus:!! : 17143::::::

vcsa:!! : 17143::::::

saslauth:!! : 17143::::::

postfix:!! : 17143::::::

Sshd:!! : 17143::::::

user1:!! : 17147:0:99999:7:::

user12:!! : 17147:0:99999:7:::

Rachy:$6$l.nlxy2z$eqznbntbynwed0buu31prikyu2xhwydnkvbhnc/3fjun.91kaohkmfhz9nf543uannrmhqd0.o165jy25eazz1 : 17149:0:99999:7:::

Jack:$6$s09chyth$7xoy5bi6ytrmu8ofqvoc5biiv1hmdmnkcgrvtk9rwtnqbkzz/w8ix2pyxf9f3lnftiqohocefpnipy/viv6g2. : 17149:0:99999:7:::

[Email protected] ~]#

A row represents a user's information, each row has 9 fields, and each field has the following meanings:

User name: Password: Last modified: Time to modify: Password expiration: Issue warning Time: Expiry expiration: Password life cycle: Reserved fields

User name: User name

Password: the password after encryption. usually starts with $6$; * Indicates that the account is locked;!! Indicates that the account does not have a password.

Last modified: Days from 1970.1.1 to last changed password

Modified: 0 means you can modify it at any time

Password expiration: The number of days after the password expires, the default is 99999

Issue warning Time: number of days before expiry warning, default is 7

Expiry time: The number of days after expiration lock account, default is empty

Account life cycle: How long the account can be used, default is empty

Reserved field: Default is empty


/etc/shadow File Details

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.