This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#------------configuration-------------------------------- | |
# the url of the openldap server | |
server="ldap://localhost:389"; | |
# the static config file of openldap | |
config="/etc/ldap/slapd.conf"; | |
# the LDAP base suffix and admin rootdn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |