diff options
Diffstat (limited to 'share/man/man5/passwd.5')
-rw-r--r-- | share/man/man5/passwd.5 | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/share/man/man5/passwd.5 b/share/man/man5/passwd.5 index 8f3efbf262e..2cc7aeb78f9 100644 --- a/share/man/man5/passwd.5 +++ b/share/man/man5/passwd.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: passwd.5,v 1.15 2000/08/20 19:37:35 millert Exp $ +.\" $OpenBSD: passwd.5,v 1.16 2000/10/26 00:37:05 aaron Exp $ .\" $NetBSD: passwd.5,v 1.4 1995/07/28 06:46:05 phil Exp $ .\" .\" Copyright (c) 1988, 1991, 1993 @@ -44,9 +44,9 @@ .Sh DESCRIPTION The .Nm master.passwd -file, readable only by root, consists of -newline-separated records, one per user, containing ten colon -.Pq Sq \&: +file, readable only by root, consists of newline-separated records, +one per user, containing ten colon +.Pq Ql \&: separated fields. These fields are as follows: .Pp @@ -77,7 +77,7 @@ User's login shell. .El .Pp The publically-readable -.Nm +.Nm passwd file is generated from the .Nm master.passwd file by @@ -115,13 +115,12 @@ The password field is the form of the password. If the .Ar password -field is empty, no password will be required to gain access to the -machine. +field is empty, no password will be required to gain access to the machine. This is almost invariably a mistake. Because .Nm master.passwd -contains the encrypted user passwords, it should -not be readable by anyone without appropriate privileges. +contains the encrypted user passwords, it should not be readable by anyone +without appropriate privileges. .Pp Which type of cipher is used to encrypt the password information depends on the configuration in @@ -173,7 +172,7 @@ User's home phone number. .El .Pp The full name may contain an ampersand -.Pq Sq \&& , +.Pq Ql \&& , which will be replaced by the capitalized login name when the gecos field is displayed or used by various programs such as .Xr finger 1 , @@ -198,7 +197,7 @@ field, the Bourne shell is assumed. .Sh YP SUPPORT If YP is active, the -.Nm +.Nm passwd file also supports standard YP exclusions and inclusions, based on user names and netgroups. .Pp @@ -301,7 +300,7 @@ BEGIN { FS = ":"} .Ed .Sh HISTORY A -.Nm +.Nm passwd file format appeared in .At v6 . .Pp |