Installing mkpasswd on EC2/CentOS

The command mkpasswd is actually part of the expect package, and should probably be avoided. You can find out what package it belongs to with either of these commands.

$ yum whatprovides "*/mkpasswd"

$ sudo yum -y install expect

Comments