~xnox/ubuntu/quantal/shadow/clear-locks

« back to all changes in this revision

Viewing changes to man/ru/shadow.5

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2009-05-05 09:45:21 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090505094521-wpk2wn3q7957tlah
Tags: 1:4.1.3.1-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Ubuntu specific:
    + debian/login.defs: use SHA512 by default for password crypt routine.
  - debian/patches/stdout-encrypted-password.patch: chpasswd can report
    password hashes on stdout (debian bug 505640).
  - debian/login.pam: Enable SELinux support (debian bug 527106).
  - debian/securetty.linux: support Freescale MX-series (debian bug 527095).
* Add debian/patches/300_lastlog_failure: fixed upstream (debian bug 524873).
* Drop debian/patches/593_omit_lastchange_field_if_clock_is_misset: fixed
  upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\"     Title: shadow
2
2
.\"    Author: 
3
3
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
4
 
.\"      Date: 04/03/2008
 
4
.\"      Date: 04/15/2009
5
5
.\"    Manual: Форматы файлов
6
6
.\"    Source: Форматы файлов
7
7
.\"
8
 
.TH "shadow" "5" "04/03/2008" "Форматы файлов" "Форматы файлов"
 
8
.TH "shadow" "5" "04/15/2009" "Форматы файлов" "Форматы файлов"
9
9
.\" disable hyphenation
10
10
.nh
11
11
.\" disable justification (adjust text to left margin only)
14
14
shadow \- файл с защищаемой информацией о пользователях
15
15
.SH "ОПИСАНИЕ"
16
16
.PP
 
17
 
17
18
\fIshadow\fR
18
 
содержит шифрованные пароли учётных записей пользователей и необязательную информацию об устаревании пароля\. Включает в себя:
19
 
.sp
20
 
.RS 4
21
 
\h'-04'\(bu\h'+03'имя пользователя для входа в систему
22
 
.RE
23
 
.sp
24
 
.RS 4
25
 
\h'-04'\(bu\h'+03'шифрованный пароль
26
 
.RE
27
 
.sp
28
 
.RS 4
29
 
\h'-04'\(bu\h'+03'число дней с момента последнего изменения пароля, начиная с 1 января 1970 года
30
 
.RE
31
 
.sp
32
 
.RS 4
33
 
\h'-04'\(bu\h'+03'число дней, перед тем как пароль может быть изменён
34
 
.RE
35
 
.sp
36
 
.RS 4
37
 
\h'-04'\(bu\h'+03'число дней, после которых пароль должен быть изменён
38
 
.RE
39
 
.sp
40
 
.RS 4
41
 
\h'-04'\(bu\h'+03'число дней, за сколько пользователя начнут предупреждать, что пароль устаревает
42
 
.RE
43
 
.sp
44
 
.RS 4
45
 
\h'-04'\(bu\h'+03'число дней, после устаревания пароля для блокировки учётной записи
46
 
.RE
47
 
.sp
48
 
.RS 4
49
 
\h'-04'\(bu\h'+03'дней, отсчитывая с 1 января 1970 года, когда учётная запись была заблокирована
50
 
.RE
51
 
.sp
52
 
.RS 4
53
 
\h'-04'\(bu\h'+03'зарезервированное поле
54
 
.RE
55
 
.PP
56
 
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, \e\. 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\.
57
 
.PP
 
19
is a file which contains the password information for the system\'s accounts and optional aging information\&.
 
20
.PP
 
21
Этот файл должен быть недоступен обычному пользователю, если нужно обеспечить безопасность паролей\&.
 
22
.PP
 
23
Each line of this file contains 9 fields, separated by colons (\(Fo:\(Fc), in the following order:
 
24
.PP
 
25
\fBимя пользователя для входа в систему\fR
 
26
.RS 4
 
27
It must be a valid account name, which exist on the system\&.
 
28
.RE
 
29
.PP
 
30
\fBшифрованный пароль\fR
 
31
.RS 4
58
32
Подробней о пароле смотрите на странице руководства
59
 
\fBcrypt\fR(3)\.
60
 
.PP
61
 
Если поле пароля содержит строку, которая не удовлетворяет требованиям
62
 
\fBcrypt\fR(3), например содержит ! или *, то пользователь не сможет использовать этот unix пароль для регистрации с учётом настроек
63
 
\fBpam\fR(7)\.
64
 
.PP
65
 
Дата последнего изменения пароля задаётся в днях, прошедших с 1 января 1970 года\. Пароль не может быть изменён пока не пройдёт положенное число дней, и должен быть изменён после максимального числа дней\. Если обязательное минимальное число дней больше чем максимальное число дней, то такой пароль не может быть изменён пользователем\.
66
 
.PP
67
 
Учётная запись считается неактивной и будет заблокирована, если пароль не был изменён за заданное число дней после устаревания пароля\. Учётная запись также будет заблокирована в заданный день, независимо от другой информации об устаревании пароля\.
68
 
.PP
69
 
Информация из этого файла заменяет любой пароль или информацию об устаревании, содержащуюся в файле
70
 
\fI/etc/passwd\fR\.
71
 
.PP
72
 
Этот файл должен быть недоступен обычному пользователю, если нужно обеспечить безопасность паролей\.
 
33
\fBcrypt\fR(3)\&.
 
34
.sp
 
35
If the password field contains some string that is not a valid result of
 
36
\fBcrypt\fR(3), for instance ! or *, the user will not be able to use a unix password to log in (but the user may log in the system by other means)\&.
 
37
.sp
 
38
This field may be empty, in which case no passwords are required to authenticate as the specified login name\&. However, some applications which read the
 
39
\fI/etc/shadow\fR
 
40
file may decide not to permit any access at all if the password field is empty\&.
 
41
.sp
 
42
A password field which starts with a exclamation mark means that the password is locked\&. The remaining characters on the line represent the password field before the password was locked\&.
 
43
.RE
 
44
.PP
 
45
\fBdate of last password change\fR
 
46
.RS 4
 
47
The date of the last password change, expressed as the number of days since Jan 1, 1970\&.
 
48
.sp
 
49
The value 0 has a special meaning, which is that the user should change her pasword the next time she will log in the system\&.
 
50
.sp
 
51
An empty field means that password aging features are disabled\&.
 
52
.RE
 
53
.PP
 
54
\fBminimum password age\fR
 
55
.RS 4
 
56
The minimum password age is the number of days the user will have to wait before she will be allowed to change her password again\&.
 
57
.sp
 
58
An empty field and value 0 mean that there are no minimum password age\&.
 
59
.RE
 
60
.PP
 
61
\fBmaximum password age\fR
 
62
.RS 4
 
63
The maximum password age is the number of days after which the user will have to change her password\&.
 
64
.sp
 
65
After this number of days is elapsed, the password may still be valid\&. The user should be asked to change her password the next time she will log in\&.
 
66
.sp
 
67
An empty field means that there are no maximum password age, no password warning period, and no password inactivity period (see below)\&.
 
68
.sp
 
69
If the maximum password age is lower than the minimum password age, the user cannot change her password\&.
 
70
.RE
 
71
.PP
 
72
\fBpassword warning period\fR
 
73
.RS 4
 
74
The number of days before a password is going to expire (see the maximum password age above) during which the user should be warned\&.
 
75
.sp
 
76
An empty field and value 0 mean that there are no password warning period\&.
 
77
.RE
 
78
.PP
 
79
\fBpassword inactivity period\fR
 
80
.RS 4
 
81
The number of days after a password has expired (see the maximum password age above) during which the password should still be accepted (and the user should update her password during the next login)\&.
 
82
.sp
 
83
After expiration of the password and this expiration period is elapsed, no login is possible using the current user\'s password\&. The user should contact her administrator\&.
 
84
.sp
 
85
An empty field means that there are no enforcement of an inactivity period\&.
 
86
.RE
 
87
.PP
 
88
\fBaccount expiration date\fR
 
89
.RS 4
 
90
The date of expiration of the account, expressed as the number of days since Jan 1, 1970\&.
 
91
.sp
 
92
Note that an account expiration differs from a password expiration\&. In case of an acount expiration, the user shall not be allowed to login\&. In case of a password expiration, the user is not allowed to login using her password\&.
 
93
.sp
 
94
An empty field means that the account will never expire\&.
 
95
.sp
 
96
The value 0 should not be used as it is interpreted as either an account with no expiration, or as an expiration on Jan 1, 1970\&.
 
97
.RE
 
98
.PP
 
99
\fBreserved field\fR
 
100
.RS 4
 
101
This field is reserved for future use\&.
 
102
.RE
73
103
.SH "ФАЙЛЫ"
74
104
.PP
75
105
\fI/etc/passwd\fR
83
113
.RE
84
114
.SH "СМОТРИТЕ ТАКЖЕ"
85
115
.PP
 
116
 
86
117
\fBchage\fR(1),
87
118
\fBlogin\fR(1),
88
 
\fBsu\fR(1),
89
119
\fBpasswd\fR(1),
90
120
\fBpasswd\fR(5),
 
121
\fBpwck\fR(8),
91
122
\fBpwconv\fR(8),
92
123
\fBpwunconv\fR(8),
93
 
\fBsulogin\fR(8)\.
 
124
\fBsu\fR(1),
 
125
\fBsulogin\fR(8)\&.