mkpasswd

The other day I couldn’t remember what package provided the mkpasswd binary…..

yum whatprovides */mkpasswd
yum install expect
mkpasswd -l 12

The above creates a password of length 12 with two uppercase letters, two numbers and one special character.

Leave a Reply