Wanesabates
New Member
Hello everyone,
Need your help please if possible.
So,
Not fairly new to Linux but not a *Pro* either. I have been preparing to pass CySA+ and have been training on a locally run Kali Linux (Kali Linux 2019.3) virtual machine on VMware Workstation.
Now the stupid part is that I lost my root user password and I am having a nightmare trying to get access to it. I had it saved in a .txt file (not the best way to store it but it was a test vm) on the desktop and deleted it accidentally in a clutter-cleaning session .
I have tried various tutorials online including this reset tutorial and another tutorial that suggests going through Grub and doing some manual playing around with files which I am not comfortable with as I have some files I 100% need in the Kali VM. I once had the same issue with a hosting company and they did something along the lines of:
(Hey, we will mount up your file system or VM and change the password for you with X amount of downtime).
Obviously it was a VM and so is this Kali install I have, is there something like this that can be performed with the setup I've got? Or was this possible because it was hosted on a Hypervisor etc?
If there is no way around can I only recover the files like extracting the filesystem from the vm file if not is the Grub menu method safe please? Any horror stores and tips welcome. Thank you.
Need your help please if possible.
So,
Not fairly new to Linux but not a *Pro* either. I have been preparing to pass CySA+ and have been training on a locally run Kali Linux (Kali Linux 2019.3) virtual machine on VMware Workstation.
Now the stupid part is that I lost my root user password and I am having a nightmare trying to get access to it. I had it saved in a .txt file (not the best way to store it but it was a test vm) on the desktop and deleted it accidentally in a clutter-cleaning session .
I have tried various tutorials online including this reset tutorial and another tutorial that suggests going through Grub and doing some manual playing around with files which I am not comfortable with as I have some files I 100% need in the Kali VM. I once had the same issue with a hosting company and they did something along the lines of:
(Hey, we will mount up your file system or VM and change the password for you with X amount of downtime).
If there is no way around can I only recover the files like extracting the filesystem from the vm file if not is the Grub menu method safe please? Any horror stores and tips welcome. Thank you.