Skip to content
Sep 29 / Mark

How to reset the admin password for ISPConfig 3

ISPConfig

Losing/Forgetting your ISPConfig 3 administrator password is annoying, but can happen to anyone! (link tip: KeePassX) To reset the password, you need to follow the few steps below.


You will need the root login for MySQL, you can find that information a ISPConfig 3 config file.

cat /usr/local/ispconfig/server/lib/mysql_clientdb.conf

<?php

$clientdb_host = ‘localhost’;
$clientdb_user = ‘root’;
$clientdb_password = ‘VerySecurePassword’;

?>

You can now log into you MySQL server with the information extracted from mysql_clientdb.conf:

mysql -h localhost -p dbispconfig

Then run:

UPDATE sys_user SET passwort = md5('YourNewPassword') WHERE username = 'admin';
FLUSH PRIVILEGES;
quit;

You can now log into your ISPConfig 3 web interface with your new admin password.

Leave a Comment

*