Bobcares

ISPConfig reset admin password – The way we do it

by | Jun 25, 2019

One of the popular open source control panels for Linux hosting is ISPConfig.

Also, it allows managing of multiple servers simultaneously via admin panel.

However, users may forget their ISPConfig admin password or they need to change access details for security reasons.

That’s where the ISPConfig reset admin password option comes handy.

At Bobcares, we often get requests from our customers to reset ISPConfig admin password as part of our Server Management Services.

Today, we’ll see how our Support Engineers change ISPConfig admin password and fix related errors.

 

How we change the ISPConfig admin password

The wrong username and incorrect password may not allow to login to the admin panel. In addition, It may show the following error in a login page while trying to login with incorrect credentials.

Therefore, our Support Engineers reset the admin password with the following steps.

1. Initially, we login as a root user and find the ISPConfig config file that contains MySQL information.

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

The result looks like,

$conf['db_database'] = 'dbispconfig';

$clientdb_host = ‘localhost’;

$clientdb_user = ‘root’;

$clientdb_password = ‘Password’;

 

2. After that, we log into the MySQL server from the command line with the information extracted from mysql_clientdb.conf. This helps us to confirm that the password actually works.

mysql -h localhost -p dbispconfig

3. Then we set this password in the MySQL database by running:

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

5. Finally, restart MySQL service.

 

How we fixed errors related to ISPConfig reset admin password

From our experience in managing servers, we’ve seen customers facing problems when resetting ISPConfig administrator password. Let’s take a closer look at how our Support Engineers fixed these problems.

 

1. Wrong username and password

Recently, one of our customers reported a problem regarding ISPConfig admin password. Clearly, he was getting an error while login to ISPConfig control panel for the first time. The error said,

"The default ISPConfig Username is: admin
and the Password is: admin
Warning: This is a security risk. Please change the default password after your login"

Therefore our Support Engineers took the following steps to solve the issue

1. We login into the server as a root user and MySQL too.

2. Then we run the below command to reset the admin password to a temporary one.

mysql -u root -p

use dbispconfig;

UPDATE sys_user SET passwort = md5('Admin123') WHERE username = 'admin';

quit;

 

Now, the customer could log in to ISPConfig control panel without any errors. Then he was able to reset the password to a strong one that satisfies the security criteria.

 

2. Improper MySQL settings

Similarly, users can get error such as Error Username or Password wrong due to improper settings in the MySQL server.

For example, another customer had a problem in ISPConfig login after resetting the MySQL root account password. Moreover, he couldn’t log in to ISPConfig’s web interface.

On checking, we found that the password in config.inc.php located at /usr/local/ispconfig/server/lib/ and MySQL password was incorrect. For the logins to work, they should be the same.

So, we reset the MySQL ISPConfig account password with a password from the file config.inc.php

mysql> update User set Password = PASSWORD('Qwerty12334!@#') WHERE User = 'ispconfig'

That’s fixed the problem and the panel was accessible again.

[Having trouble while changing ISPConfig administrator password? We’ll fix it for you.]

 

Conclusion

In short, ISPConfig reset admin password allow the customers to reset their password when the password is forgotten or has a need to enhance the password security. Today, we saw how our Support Engineers changed ISPConfig admin password and fixed related errors.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

1 Comment

  1. Julio del Aguila

    Thanks, worked like a charm.

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF