Initial commit for Tizen
[profile/extras/shadow-utils.git] / man / sv / shadow.5
1 '\" t
2 .\"     Title: shadow
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5 .\"      Date: 16-02-2011
6 .\"    Manual: Filformat och konversioner
7 .\"    Source: Filformat och konversioner
8 .\"  Language: Swedish
9 .\"
10 .TH "SHADOW" "5" "16-02-2011" "Filformat och konversioner" "Filformat och konversioner"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el       .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAMN"
31 shadow \- shadowed password file
32 .SH "BESKRIVNING"
33 .PP
34
35 shadow
36 is a file which contains the password information for the system\*(Aqs accounts and optional aging information\&.
37 .PP
38 Denna fil f\(oar inte vara l\(:asbar av vanliga anv\(:andare om l\(:osenordss\(:akerheten ska uppr\(:atth\(oallas\&.
39 .PP
40 Each line of this file contains 9 fields, separated by colons (\(rq:\(rq), in the following order:
41 .PP
42 \fBinloggningsnamn\fR
43 .RS 4
44 It must be a valid account name, which exist on the system\&.
45 .RE
46 .PP
47 \fBkrypterat l\(:osenord\fR
48 .RS 4
49 Referera till
50 \fBcrypt\fR(3)
51 f\(:or detaljer om hur denna str\(:ang tolkas\&.
52 .sp
53 If the password field contains some string that is not a valid result of
54 \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)\&.
55 .sp
56 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
57 /etc/shadow
58 file may decide not to permit any access at all if the password field is empty\&.
59 .sp
60 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\&.
61 .RE
62 .PP
63 \fBdate of last password change\fR
64 .RS 4
65 The date of the last password change, expressed as the number of days since Jan 1, 1970\&.
66 .sp
67 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\&.
68 .sp
69 An empty field means that password aging features are disabled\&.
70 .RE
71 .PP
72 \fBminimum password age\fR
73 .RS 4
74 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\&.
75 .sp
76 An empty field and value 0 mean that there are no minimum password age\&.
77 .RE
78 .PP
79 \fBmaximum password age\fR
80 .RS 4
81 The maximum password age is the number of days after which the user will have to change her password\&.
82 .sp
83 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\&.
84 .sp
85 An empty field means that there are no maximum password age, no password warning period, and no password inactivity period (see below)\&.
86 .sp
87 If the maximum password age is lower than the minimum password age, the user cannot change her password\&.
88 .RE
89 .PP
90 \fBpassword warning period\fR
91 .RS 4
92 The number of days before a password is going to expire (see the maximum password age above) during which the user should be warned\&.
93 .sp
94 An empty field and value 0 mean that there are no password warning period\&.
95 .RE
96 .PP
97 \fBpassword inactivity period\fR
98 .RS 4
99 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)\&.
100 .sp
101 After expiration of the password and this expiration period is elapsed, no login is possible using the current user\*(Aqs password\&. The user should contact her administrator\&.
102 .sp
103 An empty field means that there are no enforcement of an inactivity period\&.
104 .RE
105 .PP
106 \fBaccount expiration date\fR
107 .RS 4
108 The date of expiration of the account, expressed as the number of days since Jan 1, 1970\&.
109 .sp
110 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\&.
111 .sp
112 An empty field means that the account will never expire\&.
113 .sp
114 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\&.
115 .RE
116 .PP
117 \fBreserved field\fR
118 .RS 4
119 This field is reserved for future use\&.
120 .RE
121 .SH "FILER"
122 .PP
123 /etc/passwd
124 .RS 4
125 Anv\(:andarkontoinformation\&.
126 .RE
127 .PP
128 /etc/shadow
129 .RS 4
130 S\(:aker anv\(:andarkontoinformation\&.
131 .RE
132 .PP
133 /etc/shadow\-
134 .RS 4
135 Backup file for /etc/shadow\&.
136 .sp
137 Note that this file is used by the tools of the shadow toolsuite, but not by all user and password management tools\&.
138 .RE
139 .SH "SE OCKS\(oA"
140 .PP
141
142 \fBchage\fR(1),
143 \fBlogin\fR(1),
144 \fBpasswd\fR(1),
145 \fBpasswd\fR(5),
146 \fBpwck\fR(8),
147 \fBpwconv\fR(8),
148 \fBpwunconv\fR(8),
149 \fBsu\fR(1),
150 \fBsulogin\fR(8)\&.