Files
shadow/man/fr/man5/shadow.5
2026-02-02 07:32:15 +01:00

150 lines
5.6 KiB
Groff

'\" t
.\" Title: shadow
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\" Date: 01/02/2026
.\" Manual: File Formats and Configuration Files
.\" Source: shadow-utils 4.19.3
.\" Language: French
.\"
.TH "SHADOW" "5" "01/02/2026" "shadow\-utils 4\&.19\&.3" "File Formats and Configuration"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NOM"
shadow \- fichier des mots de passe cach\('es
.SH "DESCRIPTION"
.PP
shadow
is a file which contains the password information for the system\*(Aqs accounts and optional aging information\&.
.PP
Ce fichier ne doit pas \(^etre accessible en lecture par les utilisateurs normaux afin de maintenir la s\('ecurit\('e des mots de passe, en particuliers pour pr\('evenir les attaques par dictionnaires\&.
.PP
Each line of this file contains 9 fields, separated by colons (\(Fo\ \&:\ \&\(Fc), in the following order:
.PP
\fBlogin name\fR
.RS 4
It must be a valid account name, which exists on the system\&.
.RE
.PP
\fBencrypted password\fR
.RS 4
If the password field is empty, the user can log in without a password\&. However, some applications that read the
/etc/shadow
file might block access if the password field is empty\&.
.sp
If the password field begins with an exclamation mark
\fI!\fR, the password is locked\&. The remaining characters on the line represent the password field before the password was locked\&.
.sp
Refer to
\fBcrypt\fR(3)
for details on how this string is interpreted\&.
.sp
If the password field contains a string that is not a valid result of
\fBcrypt\fR(3), for instance ! or *, the user cannot use a UNIX password to log in\&. However, the user may log in the system by other means\&.
.RE
.PP
\fBdate of last password change\fR
.RS 4
The date of the last password change, expressed as the number of days since 1970\-01\-01 00:00:00 UTC\&.
.sp
The value 0 indicates that the user must change their password the next time they log in to the system\&.
.sp
Un champ vide indique que les fonctionnalit\('es de vieillissement de mot de passe sont d\('esactiv\('ees\&.
.RE
.PP
\fBminimum password age\fR
.RS 4
The minimum password age is the number of days the user must wait before they can change their password again\&.
.sp
An empty field and value 0 mean that there is no minimum password age\&.
.RE
.PP
\fBmaximum password age\fR
.RS 4
The maximum password age is the number of days after which the user must change their password\&.
.sp
After this number of days has elapsed, the password may still be valid\&. The user is prompted to change their password at the next login\&.
.sp
Un champ vide signifie qu\*(Aqil n\*(Aqy a pour le mot de passe aucune limite d\*(Aq\(^age, aucune p\('eriode d\*(Aqavertissement d\*(Aqexpiration et aucune p\('eriode d\*(Aqinactivit\('e (voir ci\-dessous)\&.
.sp
Si l\*(Aq\(^age maximum du mot de passe est plus petit que l\*(Aq\(^age minimum du mot de passe, l\*(Aqutilisateur ne pourra pas changer son mot de passe\&.
.RE
.PP
\fBpassword warning period\fR
.RS 4
The number of days before a password expires (see the maximum password age above) during which the user is warned\&.
.sp
An empty field and value 0 mean that there is no password warning period\&.
.RE
.PP
\fBpassword inactivity period\fR
.RS 4
The number of days after a password expires (see the maximum password age above) during which the password is still accepted, and the user must update their password at the next login\&.
.sp
After the password expires and the password inactivity period elapses, the user cannot log in and must contact their administrator\&.
.sp
An empty string means that no inactivity period is enforced\&.
.RE
.PP
\fBaccount expiration date\fR
.RS 4
The date when the account expires, expressed as the number of days since 1970\-01\-01\&.
.sp
Note that account expiration differs from password expiration\&. Account expiration prevents the user from logging in, whereas password expiration only prevents users from logging in with their password\&.
.sp
An empty field means that the account never expires\&.
.sp
The value 0 should not be used, as it is interpreted either as an account with no expiration or as an expiration date of 1970\-01\-01\&.
.RE
.PP
\fBreserved field\fR
.RS 4
Ce champ est r\('eserv\('e pour une utilisation future\&.
.RE
.SH "FICHIERS"
.PP
/etc/passwd
.RS 4
Informations sur les comptes des utilisateurs\&.
.RE
.PP
/etc/shadow
.RS 4
Informations s\('ecuris\('ees sur les comptes utilisateurs\&.
.RE
.PP
/etc/shadow\-
.RS 4
Fichier de sauvegarde pour /etc/shadow\&.
.sp
Notez que ce fichier est utilis\('e par les outils de la suite d\*(Aqoutils shadow, mais pas par tous les outils de gestion d\*(Aqutilisateurs et de mot de passes\&.
.RE
.SH "VOIR AUSSI"
.PP
\fBchage\fR(1),
\fBlogin\fR(1),
\fBpasswd\fR(1),
\fBpasswd\fR(5),
\fBpwck\fR(8),
\fBpwconv\fR(8),
\fBpwunconv\fR(8),
\fBsu\fR(1),
\fBsulogin\fR(8)\&.