How to reset Glype admin password?

We recently explained how to install Glype, the free web-based proxy script, on your webserver or hosting space, configure it, and then secure it. In this post, let us look at how to reset Glype admin password in case you get locked out of it. Unfortunately, the Glype settings page does not allow you to set / change the username or password of your Glype web proxy. It requires a small bit of file editing. After following our installation guides, we received emails from few people who were locked out of their admin accounts. So here is how your reset Glype admin password.

Reset Glype Admin Password

To reset Glype admin password, all you have to do is find and edit the settings.php file found in the includes folder.

Reset Glype Admin Password
Settings.php File In Includes Folder

Open the file in the editor and scroll down to the bottom to find the following line:

$adminDetails['xxxxx'] = 'yyyyyyyyyyyyyyyyyyyyyyyyyyy';

xxxxx is the username you provided while installing Glype and yyyyyyyyyyyyyyyyyyyyyyyyyyy is your encrypted password that was provided at the same time. To reset Glype admin password, delete the above line complete, save the settings.php file and exit.

Now visit your Glype web proxy page. You should see the login screen where you can provide a new admin username and password.

Reset Glype Admin Password
Glype Login Screen

We recommend that you set a new admin username and password immediately after deleting it from settings.php. There you have it. Since Glype is truly a set it and forget it script, you may forget the username and password after a while. Now you know how to reset Glype admin password.

Be the 1 in 200,000. Help us sustain what we do.
31 / 150 by Dec 31, 2024
Join Us (starting from just $1.67/month)

Anand

Anand is a self-learned computer enthusiast, hopeless tinkerer (if it ain't broke, fix it), a part-time blogger, and a Scientist during the day. He has been blogging since 2010 on Linux, Ubuntu, Home/Media/File Servers, Smart Home Automation, and related HOW-TOs.