mailcow/data/assets/passwd/generate_passwords.sh

5 lines
135 B
Bash
Raw Normal View History

2017-03-02 18:23:23 +08:00
#!/bin/bash
echo DBPASS=$(openssl rand -base64 32 | tr -dc _A-Z-a-z-0-9)
echo DBROOT=$(openssl rand -base64 32 | tr -dc _A-Z-a-z-0-9)