Skip to content

VPS: Restore Access

Find out how to regain access to your Linux VPS after a password lockout and minimize downtime → Learn more

10 November 20262 min read0 Views0 helpful

Introduction

It can happen quickly. You try to log in to your Linux server, but your password is no longer accepted or you’ve forgotten it. This means you can’t access the system, important data, or services. That can be frustrating, especially when the server is needed for ongoing operations. You can usually restore access without reinstalling the system by using Rescue Mode in your ZapX dashboard. Just follow the steps below to regain access to your server and get back to work with minimal disruption.

FAQ

Frequently asked questions

Use Rescue Mode in your ZapX dashboard: go to the Rescue tab and select Start Rescue Mode. The server will boot once from a rescue environment (SystemRescue) instead of from its own disk.
Mount the partition containing your system (e.g. 'mount /dev/sdaX /mnt'), switch to it with 'chroot /mnt', and reset the password with 'passwd username'.
List the available user accounts by checking the home directories: 'ls /home'.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 Users found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.