User Tools

Site Tools


vps:resetpassword

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vps:resetpassword [2026/06/05 13:32] – created kristovps:resetpassword [2026/06/05 13:35] (current) kristo
Line 1: Line 1:
 To reset the root password you need to follow these instructions To reset the root password you need to follow these instructions
  
-  login to your user +  *   login to your user 
-  click the vps control button for the vps in question +  *   click the vps control button for the vps in question 
-  press remote access +  *   press remote access 
-  mount the System Rescue CD 8.04-amd64 image +  *   mount the System Rescue CD 8.04-amd64 image 
-  go into the console below and type in "fdisk -l" +  *   go into the console below and type in "fdisk -l" 
-  This lists all disks and partitions. Your root partition is typically something like /dev/vda1 or /dev/nvme0n1p2. +This lists all disks and partitions. Your root partition is typically something like /dev/vda1 or /dev/nvme0n1p2.       
-  Type in "mount /dev/vda1 /mnt" +  *   Type in "mount /dev/vda1 /mnt" 
-  then type in "chroot /mnt" +  *   then type in "chroot /mnt" 
-  Reset the password by typing in "passwd" +  *   Reset the password by typing in "passwd" 
-  type in the following commands +  *   type in the following commands 
-    exit +exit && umount /mnt && reboot
-  *   umount /mnt +
-  *   reboot+
vps/resetpassword.1780666327.txt.gz · Last modified: by kristo