User Tools

Site Tools


vps:resetpassword

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vps:resetpassword [2026/06/05 13:34] kristovps:resetpassword [2026/06/05 13:35] (current) kristo
Line 6: Line 6:
   *   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 && umount /mnt && reboot
-exit +
-umount /mnt +
-reboot+
vps/resetpassword.1780666489.txt.gz · Last modified: by kristo