Easy ways to generate secure passwords

  1. Using openssl and base64
openssl rand -base64 25

The above command will generate a random string with the length of 25 characters.

2.