diff options
Diffstat (limited to 'man/sv/man5/passwd.5')
-rw-r--r-- | man/sv/man5/passwd.5 | 42 |
1 files changed, 28 insertions, 14 deletions
diff --git a/man/sv/man5/passwd.5 b/man/sv/man5/passwd.5 index 0033f65d..2e332ff2 100644 --- a/man/sv/man5/passwd.5 +++ b/man/sv/man5/passwd.5 @@ -2,12 +2,12 @@ .\" Title: passwd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 13-06-2019 +.\" Date: 01-12-2019 .\" Manual: Filformat och konversioner -.\" Source: shadow-utils 4.7 +.\" Source: shadow-utils 4.8 .\" Language: Swedish .\" -.TH "PASSWD" "5" "13-06-2019" "shadow\-utils 4\&.7" "Filformat och konversioner" +.TH "PASSWD" "5" "01-12-2019" "shadow\-utils 4\&.8" "Filformat och konversioner" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -32,7 +32,7 @@ passwd \- l\(:osenordsfilen .SH "BESKRIVNING" .PP /etc/passwd -inneh\(oaller en rad f\(:or varje anv\(:andarkonto men sju f\(:alt separerade med kolontecken (\(rq:\(rq)\&. Dessa f\(:alt \(:ar: +contains one line for each user account, with seven fields delimited by colons (\(rq:\(rq)\&. These fields are: .sp .RS 4 .ie n \{\ @@ -111,13 +111,7 @@ anv\(:andarens hemkatalog optional user command interpreter .RE .PP -The encrypted password field may be blank, in which case no password is required to authenticate as the specified login name\&. However, some applications which read the -/etc/passwd -file may decide not to permit -\fIany\fR -access at all if the -\fIpassword\fR -field is blank\&. If the +If the \fIpassword\fR field is a lower\-case \(rqx\(rq, then the encrypted password is actually stored in the @@ -126,10 +120,30 @@ file instead; there \fImust\fR be a corresponding line in the /etc/shadow -file, or else the user account is invalid\&. If the +file, or else the user account is invalid\&. +.PP +The encrypted +\fIpassword\fR +field may be empty, in which case no password is required to authenticate as the specified login name\&. However, some applications which read the +/etc/passwd +file may decide not to permit +\fIany\fR +access at all if the +\fIpassword\fR +field is blank\&. +.PP +A +\fIpassword\fR +field which starts with an exclamation mark means that the password is locked\&. The remaining characters on the line represent the \fIpassword\fR -field is any other string, then it will be treated as an encrypted password, as specified by -\fBcrypt\fR(3)\&. +field before the password was locked\&. +.PP +Refer to +\fBcrypt\fR(3) +for details on how this string is interpreted\&. +.PP +If the password field contains some string that is not a valid result of +\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)\&. .PP The comment field is used by various system utilities, such as \fBfinger\fR(1)\&. |