2007-10-07 17:14:02 +05:30
|
|
|
.\" Copyright 1989 - 1990, Julianne Frances Haugh
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors
|
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
2007-10-07 17:14:14 +05:30
|
|
|
.\" $Id: shadow.5,v 1.5 2000/08/26 18:27:17 marekm Exp $
|
2007-10-07 17:14:02 +05:30
|
|
|
.\"
|
|
|
|
.TH SHADOW 5
|
|
|
|
.SH NAME
|
|
|
|
shadow \- encrypted password file
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.I shadow
|
|
|
|
contains the encrypted password information for user's accounts
|
|
|
|
and optional the password aging information.
|
|
|
|
Included is
|
|
|
|
.IP "" .5i
|
|
|
|
Login name
|
|
|
|
.IP "" .5i
|
|
|
|
Encrypted password
|
|
|
|
.IP "" .5i
|
|
|
|
Days since Jan 1, 1970 that password was last changed
|
|
|
|
.IP "" .5i
|
|
|
|
Days before password may be changed
|
|
|
|
.IP "" .5i
|
|
|
|
Days after which password must be changed
|
|
|
|
.IP "" .5i
|
|
|
|
Days before password is to expire that user is warned
|
|
|
|
.IP "" .5i
|
|
|
|
Days after password expires that account is disabled
|
|
|
|
.IP "" .5i
|
|
|
|
Days since Jan 1, 1970 that account is disabled
|
|
|
|
.IP "" .5i
|
|
|
|
A reserved field
|
|
|
|
.PP
|
|
|
|
The password field must be filled.
|
|
|
|
The encryped password consists of 13 to 24 characters from the
|
|
|
|
64 character alphabet
|
|
|
|
a thru z, A thru Z, 0 thru 9, \. and /.
|
|
|
|
Refer to \fBcrypt\fR(3) for details on how this string is
|
|
|
|
interpreted.
|
|
|
|
.PP
|
|
|
|
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.
|
|
|
|
.PP
|
|
|
|
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.
|
|
|
|
.PP
|
|
|
|
This information supercedes any password or password age
|
|
|
|
information present in \fI/etc/passwd\fR.
|
|
|
|
.PP
|
|
|
|
This file must not be readable by regular users if password
|
|
|
|
security is to be maintained.
|
|
|
|
.SH FILES
|
|
|
|
/etc/passwd \- user account information
|
|
|
|
.br
|
|
|
|
/etc/shadow \- encrypted user passwords
|
|
|
|
.SH SEE ALSO
|
|
|
|
.BR chage (1),
|
|
|
|
.BR login (1),
|
|
|
|
.BR passwd (1),
|
|
|
|
.BR su (1),
|
|
|
|
.BR sulogin (8),
|
|
|
|
.BR shadow (3),
|
|
|
|
.BR passwd (5),
|
|
|
|
.BR pwconv (8),
|
|
|
|
.BR pwunconv (8)
|
|
|
|
.SH AUTHOR
|
2007-10-07 17:14:14 +05:30
|
|
|
Julianne Frances Haugh (jfh@austin.ibm.com)
|