Linux repositories inspector
shadow-utils 4.8.1
09/03/2020

passwd

change and administer password and group data

man-pages-fr

French version of the Linux man-pages

shadow

Password and account management tool suite with support for shadow files and PAM

man-pages

Linux kernel and C library user-space interface documentation

NOM

passwd - fichier des mots de passe

DESCRIPTION

/etc/passwd contains one line for each user account, with seven fields delimited by colons (\(Fo : \(Fc). These fields are:
o
o nom de connexion de lutilisateur (\(Fo login \(Fc)
o
o un mot de passe chiffr\(’e optionnel
o
o lidentifiant num\(’erique de lutilisateur
o
o lidentifiant num\(’erique du groupe de lutilisateur
o
o le nom complet de lutilisateur ou un champ de commentaires
o
o le r\(’epertoire personnel de lutilisateur
o
o linterpr\(’eteur de commandes de lutilisateur (optionnel)
If the password field is a lower-case \(Fo x \(Fc, then the encrypted password is actually stored in the shadow(5) file instead; there must be a corresponding line in the /etc/shadow file, or else the user account is invalid.
The encrypted password 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 any access at all if the password field is blank.
A password field which starts with an exclamation mark means that the password is locked. The remaining characters on the line represent the password field before the password was locked.
Refer to crypt(3) for details on how this string is interpreted.
If the password field contains some string that is not a valid result of crypt(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).
The comment field is used by various system utilities, such as finger(1).
The home directory field provides the name of the initial working directory. The login program uses this information to set the value of the $HOME environmental variable.
The command interpreter field provides the name of the users command language interpreter, or the name of the initial program to execute. The login program uses this information to set the value of the $SHELL environmental variable. If this field is empty, it defaults to the value /bin/sh.

FICHIERS

/etc/passwd
Informations sur les comptes des utilisateurs.
/etc/shadow
un mot de passe chiffr\(’e optionnel
/etc/passwd-
Fichier de sauvegarde de /etc/passwd.
Notez que ce fichier est utilis\(’e par les outils de la suite doutils shadow, mais pas par tous les outils de gestion dutilisateurs et de mot de passes.
⇧ Top