yunohost/data/apps/helpers.d/password
2015-09-03 13:56:25 +02:00

3 lines
133 B
Text

ynh_password() {
echo $(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{24\}\).*/\1/p')
}