chpasswd

chpasswd#

Bulk-set passwords from stdin.

$ echo 'operator:S3cret!' | sudo chpasswd