summaryrefslogtreecommitdiff
path: root/usr/src/man/man4/shadow.4
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man4/shadow.4')
-rw-r--r--usr/src/man/man4/shadow.439
1 files changed, 6 insertions, 33 deletions
diff --git a/usr/src/man/man4/shadow.4 b/usr/src/man/man4/shadow.4
index 7b0b096e38..e04051a484 100644
--- a/usr/src/man/man4/shadow.4
+++ b/usr/src/man/man4/shadow.4
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH shadow 4 "15 Sep 2005" "SunOS 5.11" "File Formats"
+.TH SHADOW 4 "Sep 15, 2005"
.SH NAME
shadow \- shadow password file
.SH DESCRIPTION
@@ -34,23 +34,19 @@ Each entry in the shadow file has the form:
The fields are defined as follows:
.sp
.ne 2
-.mk
.na
\fB\fIusername\fR\fR
.ad
.RS 12n
-.rt
The user's login name (UID).
.RE
.sp
.ne 2
-.mk
.na
\fB\fIpassword\fR\fR
.ad
.RS 12n
-.rt
An encrypted password for the user generated by \fBcrypt\fR(3C), a \fIlock\fR
string to indicate that the login is not accessible, or no string, which shows
that there is no password for the login.
@@ -61,12 +57,10 @@ password field.
.sp
.ne 2
-.mk
.na
\fB\fIlastchg\fR\fR
.ad
.RS 12n
-.rt
The number of days between January 1, 1970, and the date that the password was
last modified. The \fIlastchg\fR value is a decimal number, as interpreted by
\fBstrtol\fR(3C).
@@ -74,46 +68,38 @@ last modified. The \fIlastchg\fR value is a decimal number, as interpreted by
.sp
.ne 2
-.mk
.na
\fB\fImin\fR\fR
.ad
.RS 12n
-.rt
The minimum number of days required between password changes. This field must
be set to 0 or above to enable password aging.
.RE
.sp
.ne 2
-.mk
.na
\fB\fImax\fR\fR
.ad
.RS 12n
-.rt
The maximum number of days the password is valid.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIwarn\fR\fR
.ad
.RS 12n
-.rt
The number of days before password expires that the user is warned.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIinactive\fR\fR
.ad
.RS 12n
-.rt
The number of days of inactivity allowed for that user. This is counted on a
per-machine basis; the information about the last login is taken from the
machine's \fBlastlog\fR file.
@@ -121,12 +107,10 @@ machine's \fBlastlog\fR file.
.sp
.ne 2
-.mk
.na
\fB\fIexpire\fR\fR
.ad
.RS 12n
-.rt
An absolute date expressed as the number of days since the Unix Epoch (January
1, 1970). When this number is reached the login can no longer be used. For
example, an \fIexpire\fR value of \fB13514\fR specifies a login expiration of
@@ -135,12 +119,10 @@ January 1, 2007.
.sp
.ne 2
-.mk
.na
\fB\fIflag\fR\fR
.ad
.RS 12n
-.rt
Failed login count in low order four bits; remainder reserved for future use,
set to zero.
.RE
@@ -170,45 +152,37 @@ Time.
.SH FILES
.sp
.ne 2
-.mk
.na
\fB\fB/etc/shadow\fR\fR
.ad
.RS 22n
-.rt
shadow password file
.RE
.sp
.ne 2
-.mk
.na
\fB\fB/etc/passwd\fR\fR
.ad
.RS 22n
-.rt
password file
.RE
.sp
.ne 2
-.mk
.na
\fB\fB/etc/nsswitch.conf\fR\fR
.ad
.RS 22n
-.rt
name-service switch configuration file
.RE
.sp
.ne 2
-.mk
.na
\fB\fB/var/adm/lastlog\fR\fR
.ad
.RS 22n
-.rt
time of last login
.RE
@@ -220,13 +194,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStable
+Interface Stability Stable
.TE
.SH SEE ALSO