chpasswd

NOM

chpasswd - Mettre à jour des mots de passe par lot

SYNOPSIS

chpasswd [options]

DESCRIPTION

The chpasswd command reads a list of user name and password pairs from standard input and uses this information to update a group of existing users. Each line is of the format:

nom_utilisateur:mot_de_passe

Les mots de passe doivent être fournis en clair.

PAM is used to update the password in the system database according to the PAM chpasswd configuration.

When chpasswd fails to update a password, it continues updating the passwords of the next users, and will return an error code on exit.

Cette commande est destinée aux gros systèmes pour lesquels un nombre importants de comptes sont créés en une seule fois.

OPTIONS

Les options disponibles pour la commande chpasswd sont :

-S, --stdout

Report encrypted passwords to stdout instead of updating password file.

-h, --help

Afficher un message daide et quitter.

AVERTISSEMENTS

Pensez à fixer les permissions ou umask afin dempêcher la lecture par les autres utilisateurs des fichiers non chiffrés.

FICHIERS

/etc/pam.d/chpasswd

PAM configuration for chpasswd.

VOIR AUSSI

passwd(1), newusers(8), useradd(8).