Skip to content

Dedicated Server: Restore Access

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

10 November 20262 min read0 Views0 helpful

Introduction

This can happen quickly. You try to log into your Linux server, but the password is no longer accepted or has been forgotten. This means you can no longer access the system and important data or services. It can be really frustrating, especially if the server is needed for ongoing operations. For most Linux distributions, access can be restored via recovery mode without needing to reinstall the operating system. With the following steps, you can make your server accessible again and continue working with minimal interruptions.

FAQ

Frequently asked questions

During system startup, open the GRUB menu via the Remote Management tab in your ZapX account, select Advanced options for Ubuntu, and start the system in recovery mode.
In the recovery menu, select root – Drop to root shell prompt, remount the root filesystem as writable with mount -o remount,rw /, then reset the password using the passwd command.
List available user accounts by checking the home directories with the command 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.