Skip to content

Instantly share code, notes, and snippets.

@bakriabbas
bakriabbas / centos_rhel_install.sh​
Last active June 14, 2024 21:33 — forked from rcubetrac/centos_rhel_install.sh​
Roundcube Install Scripts
#!/bin/sh
clear
if [ -z "${mysql_roundcube_password}" ]; then
tmp=$(</dev/urandom tr -dc A-Za-z0-9 | head -c12)
read -p "MySQL roundcube user password [${tmp}]:" mysql_roundcube_password
mysql_roundcube_password=${mysql_roundcube_password:-${tmp}}
echo "MySQL roundcube: ${mysql_roundcube_password}" >> .passwords
fi