• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Root Password lost

Hi,

It depends, best would be to use the second user what has sudo access and change password like that.
What kind of Ubuntu Version are you using?
 
Ok, so we do a trick. (For Ubuntu and Debian)

I will use my old damaged Plesk Installation running on Ubuntu for DEMO (Proxmox QEMU):

1. Reboot Server
2. You should see GRUB Bootloader, Press "e"
3. You need to add on the end of the line what beginns with "linux /boot/vmlinux-(...)" this: "init /bin/bash (See Screenshot: reset 2)
4. After step 3. Press F10 or Ctrl + x to Start.
5. You should have shell access as root now, before we can reset password, we need to mount the filesystem.
6. Type: "mount -o remount,rw /"
7. Now we can reset Root Password: "passwd" and Press enter
8. Type your desired password, it will ask twice.
9. Continue booting to normal with: "exec /sbin/init"
10. You should be able to log in now

Tip: 5,6,7,8 you can see in Screenshot: reset 3
 

Attachments

  • reset2.PNG
    reset2.PNG
    19.5 KB · Views: 12
  • reset3.PNG
    reset3.PNG
    4.5 KB · Views: 11
Back
Top