1CHPASSWD(8) System Management Commands CHPASSWD(8)
2
3
4
6 chpasswd - update passwords in batch mode
7
9 chpasswd [options]
10
12 chpasswd reads a list of user name and password pairs from standard
13 input and uses this information to update a group of existing users.
14 Each line is of the format:
15
16 user_name:password
17
18 By default the supplied password must be in clear-text. Default
19 encryption algorithm is DES, but this setting can be changed in
20 /etc/login.defs. Red Hat uses MD5 to encrypt passwords by default. Also
21 the password age will be updated, if present.
22
23 This command is intended to be used in a large system environment where
24 many accounts are created at a single time.
25
27 The options which apply to the chpasswd command are:
28
29 -e, --encrypted
30 Supplied passwords are in encrypted form.
31
32 -h, --help
33 Display help message and exit.
34
35 -m, --md5
36 Use MD5 encryption instead of DES when the supplied passwords are
37 not encrypted.
38
40 Remember to set permissions or umask to prevent readability of
41 unencrypted files by other users.
42
44 passwd(1), newusers(8), useradd(8).
45
46
47
48System Management Commands 07/30/2006 CHPASSWD(8)