create scripts 'mdns' and 'set_root_password'

edit for secure create_db.sh
This commit is contained in:
2025-03-23 17:27:49 +01:00
parent 9b29b85fb2
commit bc57514c0d
5 changed files with 472 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ check_root() {
}
generate_token() {
tr -dc 'A-Za-z0-9@#%+=_-' < /dev/urandom | head -c "${1:-32}"
tr -dc 'A-Za-z0-9' < /dev/urandom | head -c "${1:-32}"
echo
}