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

« back to all changes in this revision

Viewing changes to man/sv/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: 03-04-2008
 
4
.\"      Date: 15-04-2009
5
5
.\"    Manual: Filformat och konversioner
6
6
.\"    Source: Filformat och konversioner
7
7
.\"
8
 
.TH "SHADOW" "5" "03-04-2008" "Filformat och konversioner" "Filformat och konversioner"
 
8
.TH "SHADOW" "5" "15-04-2009" "Filformat och konversioner" "Filformat och konversioner"
9
9
.\" disable hyphenation
10
10
.nh
11
11
.\" disable justification (adjust text to left margin only)
16
16
.PP
17
17
 
18
18
\fIshadow\fR
19
 
contains the encrypted password information for user\'s accounts and optional the password aging information\. Included is:
20
 
.sp
21
 
.RS 4
22
 
\h'-04'\(bu\h'+03'inloggningsnamn
23
 
.RE
24
 
.sp
25
 
.RS 4
26
 
\h'-04'\(bu\h'+03'krypterat lösenord
27
 
.RE
28
 
.sp
29
 
.RS 4
30
 
\h'-04'\(bu\h'+03'dagar sedan 1:a januari, 1970 som lösenordet senast ändrades
31
 
.RE
32
 
.sp
33
 
.RS 4
34
 
\h'-04'\(bu\h'+03'dagar innan lösenordet får ändras
35
 
.RE
36
 
.sp
37
 
.RS 4
38
 
\h'-04'\(bu\h'+03'dagar efter vilket lösenordet måste ändras
39
 
.RE
40
 
.sp
41
 
.RS 4
42
 
\h'-04'\(bu\h'+03'dagar innan lösenordet går ut som användaren varnas
43
 
.RE
44
 
.sp
45
 
.RS 4
46
 
\h'-04'\(bu\h'+03'dagar efter att lösenordet gått ut och kontot inaktiveras
47
 
.RE
48
 
.sp
49
 
.RS 4
50
 
\h'-04'\(bu\h'+03'dagar sedan 1:a januari 1970 som kontot är inaktiverat
51
 
.RE
52
 
.sp
53
 
.RS 4
54
 
\h'-04'\(bu\h'+03'ett reserverat fält
55
 
.RE
56
 
.PP
57
 
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\.
58
 
.PP
 
19
is a file which contains the password information for the system\'s accounts and optional aging information\&.
 
20
.PP
 
21
Denna fil får inte vara läsbar av vanliga användare om lösenordssäkerheten ska upprätthållas\&.
 
22
.PP
 
23
Each line of this file contains 9 fields, separated by colons (\(rq:\(rq), in the following order:
 
24
.PP
 
25
\fBinloggningsnamn\fR
 
26
.RS 4
 
27
It must be a valid account name, which exist on the system\&.
 
28
.RE
 
29
.PP
 
30
\fBkrypterat lösenord\fR
 
31
.RS 4
59
32
Referera till
60
33
\fBcrypt\fR(3)
61
 
för detaljer om hur denna sträng tolkas\.
62
 
.PP
63
 
If the password field contains some string that is not valid result of
64
 
\fBcrypt\fR(3), for instance ! or *, the user will not be able to use a unix password to log in, subject to
65
 
\fBpam\fR(7)\.
66
 
.PP
67
 
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\.
68
 
.PP
69
 
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\.
70
 
.PP
71
 
This information supersedes any password or password age information present in
72
 
\fI/etc/passwd\fR\.
73
 
.PP
74
 
Denna fil får inte vara läsbar av vanliga användare om lösenordssäkerheten ska upprätthållas\.
 
34
för detaljer om hur denna sträng tolkas\&.
 
35
.sp
 
36
If the password field contains some string that is not a valid result of
 
37
\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)\&.
 
38
.sp
 
39
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
 
40
\fI/etc/shadow\fR
 
41
file may decide not to permit any access at all if the password field is empty\&.
 
42
.sp
 
43
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\&.
 
44
.RE
 
45
.PP
 
46
\fBdate of last password change\fR
 
47
.RS 4
 
48
The date of the last password change, expressed as the number of days since Jan 1, 1970\&.
 
49
.sp
 
50
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\&.
 
51
.sp
 
52
An empty field means that password aging features are disabled\&.
 
53
.RE
 
54
.PP
 
55
\fBminimum password age\fR
 
56
.RS 4
 
57
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\&.
 
58
.sp
 
59
An empty field and value 0 mean that there are no minimum password age\&.
 
60
.RE
 
61
.PP
 
62
\fBmaximum password age\fR
 
63
.RS 4
 
64
The maximum password age is the number of days after which the user will have to change her password\&.
 
65
.sp
 
66
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\&.
 
67
.sp
 
68
An empty field means that there are no maximum password age, no password warning period, and no password inactivity period (see below)\&.
 
69
.sp
 
70
If the maximum password age is lower than the minimum password age, the user cannot change her password\&.
 
71
.RE
 
72
.PP
 
73
\fBpassword warning period\fR
 
74
.RS 4
 
75
The number of days before a password is going to expire (see the maximum password age above) during which the user should be warned\&.
 
76
.sp
 
77
An empty field and value 0 mean that there are no password warning period\&.
 
78
.RE
 
79
.PP
 
80
\fBpassword inactivity period\fR
 
81
.RS 4
 
82
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)\&.
 
83
.sp
 
84
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\&.
 
85
.sp
 
86
An empty field means that there are no enforcement of an inactivity period\&.
 
87
.RE
 
88
.PP
 
89
\fBaccount expiration date\fR
 
90
.RS 4
 
91
The date of expiration of the account, expressed as the number of days since Jan 1, 1970\&.
 
92
.sp
 
93
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\&.
 
94
.sp
 
95
An empty field means that the account will never expire\&.
 
96
.sp
 
97
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\&.
 
98
.RE
 
99
.PP
 
100
\fBreserved field\fR
 
101
.RS 4
 
102
This field is reserved for future use\&.
 
103
.RE
75
104
.SH "FILER"
76
105
.PP
77
106
\fI/etc/passwd\fR
78
107
.RS 4
79
 
Användarkontoinformation\.
 
108
Användarkontoinformation\&.
80
109
.RE
81
110
.PP
82
111
\fI/etc/shadow\fR
83
112
.RS 4
84
 
Säker användarkontoinformation\.
 
113
Säker användarkontoinformation\&.
85
114
.RE
86
115
.SH "SE OCKSÅ"
87
116
.PP
 
117
 
88
118
\fBchage\fR(1),
89
119
\fBlogin\fR(1),
90
 
\fBsu\fR(1),
91
120
\fBpasswd\fR(1),
92
121
\fBpasswd\fR(5),
 
122
\fBpwck\fR(8),
93
123
\fBpwconv\fR(8),
94
124
\fBpwunconv\fR(8),
95
 
\fBsulogin\fR(8)\.
 
125
\fBsu\fR(1),
 
126
\fBsulogin\fR(8)\&.