SHADOW(5)

NAMN
shadow - krypterad lösenordsfil

BESKRIVNING

shadow contains the encrypted password information for user's accounts and optional the password aging information. Included is:

    • inloggningsnamn

    • krypterat lösenord

    • dagar sedan 1:a januari, 1970 som lösenordet senast ändrades

    • dagar innan lösenordet får ändras

    • dagar efter vilket lösenordet måste ändras

    • dagar innan lösenordet går ut som användaren varnas

    • dagar efter att lösenordet gått ut och kontot inaktiveras

    • dagar sedan 1:a januari 1970 som kontot är inaktiverat

    • ett reserverat fält

The password field must be filled. The encrypted password consists of 13 to 24 characters from the 64 character alphabet a thru z, A thru Z, 0 thru 9, \. and /. Optionally it can start with a "$" character. This means the encrypted password was generated using another (not DES) algorithm. For example if it starts with "$1$" it means the MD5-based algorithm was used.

Referera till crypt(3) för detaljer om hur denna sträng tolkas.

If the password field contains some string that is not valid result of crypt(3), for instance ! or *, the user will not be able to use a unix password to log in, subject to pam(7).

The date of the last password change is given as the number of days since Jan 1, 1970. The password may not be changed again until the proper number of days have passed, and must be changed after the maximum number of days. If the minimum number of days required is greater than the maximum number of day allowed, this password may not be changed by the user.

An account is considered to be inactive and is disabled if the password is not changed within the specified number of days after the password expires. An account will also be disabled on the specified day regardless of other password expiration information.

This information supersedes any password or password age information present in /etc/passwd.

Denna fil får inte vara läsbar av vanliga användare om lösenordssäkerheten ska upprätthållas.

FILER

/etc/passwd
    Användarkontoinformation.

/etc/shadow
    Säker användarkontoinformation.

SE OCKSÅ

chage(1), login(1), su(1), passwd(1), passwd(5), pwconv(8), pwunconv(8), sulogin(8).