150 lines
6.2 KiB
Groff
150 lines
6.2 KiB
Groff
'\" t
|
||
.\" Title: shadow
|
||
.\" Author: Julianne Frances Haugh
|
||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||
.\" Date: 01/02/2026
|
||
.\" Manual: File Formats and Configuration Files
|
||
.\" Source: shadow-utils 4.19.3
|
||
.\" Language: Ukrainian
|
||
.\"
|
||
.TH "shadow" "5" "01/02/2026" "shadow\-utils 4\&.19\&.3" "File Formats and Configuration"
|
||
.\" -----------------------------------------------------------------
|
||
.\" * Define some portability stuff
|
||
.\" -----------------------------------------------------------------
|
||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
.\" http://bugs.debian.org/507673
|
||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
.ie \n(.g .ds Aq \(aq
|
||
.el .ds Aq '
|
||
.\" -----------------------------------------------------------------
|
||
.\" * set default formatting
|
||
.\" -----------------------------------------------------------------
|
||
.\" disable hyphenation
|
||
.nh
|
||
.\" disable justification (adjust text to left margin only)
|
||
.ad l
|
||
.\" -----------------------------------------------------------------
|
||
.\" * MAIN CONTENT STARTS HERE *
|
||
.\" -----------------------------------------------------------------
|
||
.SH "НАЗВА"
|
||
shadow \- файли прихованих паролів
|
||
.SH "ОПИС"
|
||
.PP
|
||
shadow
|
||
is a file which contains the password information for the system\*(Aqs accounts and optional aging information\&.
|
||
.PP
|
||
Цей файл має бути недоступним для читання звичайними користувачами, якщо ви хочете підтримувати захист паролів\&.
|
||
.PP
|
||
У кожному рядку файла міститься 9 полів, дані яких відокремлено двокрапками (\(Fo:\(Fc), у такому порядку:
|
||
.PP
|
||
\fBlogin name\fR
|
||
.RS 4
|
||
It must be a valid account name, which exists on the system\&.
|
||
.RE
|
||
.PP
|
||
\fBencrypted password\fR
|
||
.RS 4
|
||
If the password field is empty, the user can log in without a password\&. However, some applications that read the
|
||
/etc/shadow
|
||
file might block access if the password field is empty\&.
|
||
.sp
|
||
If the password field begins with an exclamation mark
|
||
\fI!\fR, the password is locked\&. The remaining characters on the line represent the password field before the password was locked\&.
|
||
.sp
|
||
Refer to
|
||
\fBcrypt\fR(3)
|
||
for details on how this string is interpreted\&.
|
||
.sp
|
||
If the password field contains a string that is not a valid result of
|
||
\fBcrypt\fR(3), for instance ! or *, the user cannot use a UNIX password to log in\&. However, the user may log in the system by other means\&.
|
||
.RE
|
||
.PP
|
||
\fBdate of last password change\fR
|
||
.RS 4
|
||
The date of the last password change, expressed as the number of days since 1970\-01\-01 00:00:00 UTC\&.
|
||
.sp
|
||
The value 0 indicates that the user must change their password the next time they log in to the system\&.
|
||
.sp
|
||
Якщо поле є порожнім, можливості застарівання паролів буде вимкнено\&.
|
||
.RE
|
||
.PP
|
||
\fBminimum password age\fR
|
||
.RS 4
|
||
The minimum password age is the number of days the user must wait before they can change their password again\&.
|
||
.sp
|
||
Порожнє значення або значення 0 означають, що мінімальний вік пароля не використовуватиметься\&.
|
||
.RE
|
||
.PP
|
||
\fBmaximum password age\fR
|
||
.RS 4
|
||
The maximum password age is the number of days after which the user must change their password\&.
|
||
.sp
|
||
After this number of days has elapsed, the password may still be valid\&. The user is prompted to change their password at the next login\&.
|
||
.sp
|
||
Порожнє значення поля означатиме, що максимальний вік пароля не визначатиметься, не буде попередження щодо завершення строку дії і не буде періоду вимикання пароля (див\&. нижче)\&.
|
||
.sp
|
||
Якщо максимальний вік пароля є меншим за мінімальний вік пароля, користувач не зможе змінити пароль\&.
|
||
.RE
|
||
.PP
|
||
\fBpassword warning period\fR
|
||
.RS 4
|
||
The number of days before a password expires (see the maximum password age above) during which the user is warned\&.
|
||
.sp
|
||
An empty field and value 0 mean that there is no password warning period\&.
|
||
.RE
|
||
.PP
|
||
\fBpassword inactivity period\fR
|
||
.RS 4
|
||
The number of days after a password expires (see the maximum password age above) during which the password is still accepted, and the user must update their password at the next login\&.
|
||
.sp
|
||
After the password expires and the password inactivity period elapses, the user cannot log in and must contact their administrator\&.
|
||
.sp
|
||
An empty string means that no inactivity period is enforced\&.
|
||
.RE
|
||
.PP
|
||
\fBaccount expiration date\fR
|
||
.RS 4
|
||
The date when the account expires, expressed as the number of days since 1970\-01\-01\&.
|
||
.sp
|
||
Note that account expiration differs from password expiration\&. Account expiration prevents the user from logging in, whereas password expiration only prevents users from logging in with their password\&.
|
||
.sp
|
||
An empty field means that the account never expires\&.
|
||
.sp
|
||
The value 0 should not be used, as it is interpreted either as an account with no expiration or as an expiration date of 1970\-01\-01\&.
|
||
.RE
|
||
.PP
|
||
\fBreserved field\fR
|
||
.RS 4
|
||
Це поле зарезервовано для використання у майбутньому\&.
|
||
.RE
|
||
.SH "ФАЙЛИ"
|
||
.PP
|
||
/etc/passwd
|
||
.RS 4
|
||
Відомості щодо облікових записів користувача\&.
|
||
.RE
|
||
.PP
|
||
/etc/shadow
|
||
.RS 4
|
||
Відомості щодо захищених облікових записів користувачів\&.
|
||
.RE
|
||
.PP
|
||
/etc/shadow\-
|
||
.RS 4
|
||
Файл резервної копії для /etc/shadow\&.
|
||
.sp
|
||
Зауважте, що цей файл буде використано інструментами комплексу засобів shadow, але не усіма засобами керування записами користувачів і паролями\&.
|
||
.RE
|
||
.SH "ДИВ\&. ТАКОЖ"
|
||
.PP
|
||
\fBchage\fR(1),
|
||
\fBlogin\fR(1),
|
||
\fBpasswd\fR(1),
|
||
\fBpasswd\fR(5),
|
||
\fBpwck\fR(8),
|
||
\fBpwconv\fR(8),
|
||
\fBpwunconv\fR(8),
|
||
\fBsu\fR(1),
|
||
\fBsulogin\fR(8)\&.
|