MAN page from OpenSuSE pwdutils-3.2.5-2.4.1.x86_64.rpm
Section: Maintenance Commands (8)
Updated: Feburary 2004Index
chpasswd - change user passwords in batch
] [-P path
] [-c des
changes passwords for user accounts in batch. Itreads a list of login and password pairs from standard inputor a file and uses this information to update the passwords of thisuser accounts. The named account must exist and the password age willbe updated. Each input line is of the format:
If the hash algorithmus is not given on the commandline, the valueof GROUP_CRYPT or, if not specified, CRYPT from/etc/default/passwd is used as hash algorithmus.If not configured, the traditinal des algorithmus is used.
- -c des|md5|blowfish
- This option specifies the hash algorithmus, which should be used toencrypt the passwords.
- The passwords are expected to be in encrypted form. Normally thepasswords are expected to be cleartext.
- -D, --binddn binddn
- Use the Distinguished Name binddn to bind to the LDAP directory.The user will be prompted for a password for simple authentication.
- -P, --path path
- The passwd and shadow files are located belowthe specified directory path. chpasswd will use this files,not /etc/passwd and /etc/shadow.
/etc/default/passwd - default values for password hash
Thorsten Kukuk <kukukAATTsuse.de>
- SEE ALSO
This document was created byman2html,using the manual pages.