Ubuntu Client password on VirtualBox

Joseph_2176 Posted messages 1 Status Membre -  
KrondaliX Posted messages 382 Registration date   Status Membre Last intervention   -
Hello/Good evening. Please help me. How to recover my user password for my session in Ubuntu Client version on a VirtualBox virtual machine?

1 réponse

KrondaliX Posted messages 382 Registration date   Status Membre Last intervention   143
 
1) Power on your VM.
2) Press ESC or SHIFT at the GRUB screen. (It depends if you're using UEFI BIOS or not)
3) Select the most recent line in (recovery mode) and press ENTER
4) Select the line "root" and press ENTER
5) Then the shell prompt should appear and you need to execute the following commands:

Remount the partition as read/write:
mount -o remount,rw /

Change the password for the specified user:
passwd username

--
By KrondaliX
0