fix minor issues

Use 'chpasswd -e' when root password is encrypted and install all
packages in a single yum transaction.