For Debian 12
Onee-Click Install Apps (Via CLI or Admin Panel) WordPress,Dokuwiki,Drupal,Grav,Laravel,MediaWiki,NextCloud,Symphony,Joomla
$ wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh $ bash hst-install.sh --hostname 'xxxxxxxxx' --username 'admin' --email 'jangseo@hotmail.com' --password 'xxxxxxx' --vsftpd no --named no --exim no --dovecot no --clamav no --spamassassin no --iptables no --fail2ban no
For Debian 13
nano /usr/local/hestia/bin/v-check-user-password
replace this part:
if [ "$method" = "yescrypt" ]; then
if which python3 > /dev/null; then
export PASS="$password" SALT="$shadow"
hash=$(python3 -c 'import crypt, os; print(crypt.crypt(os.getenv("PASS"), os.getenv("SALT")))')
else
# Fall back to mkpasswd as fallback
hash=$(mkpasswd "$password" "$shadow")
fi
if [ $? -ne 0 ]; then
echo "Error: password missmatch"
...
fi
With this:
if [ "$method" = "yescrypt" ]; then
if command -v mkpasswd >/dev/null 2>&1; then
export PASS="$password" SALT="$shadow"
hash=$(mkpasswd -m yescrypt "$password" "$shadow" 2>/dev/null || mkpasswd "$password" "$shadow")
else
# Fall back to mkpasswd as fallback
hash=$(mkpasswd "$password" "$shadow")
fi
if [ $? -ne 0 ]; then
echo "Error: password missmatch"
if [ -z "$return_hash" ]; then
echo "$date $time $user $ip46 failed to login" >> $HESTIA/log/auth.log
fi
exit 9
fi