Assignment 5.1 - Zacham17/my-tech-journal GitHub Wiki
Assignment 5.1: Breaking into Kali
To begin, I restarted my Kali VM, and while it was booting, I pressed space. This brought me to a menu to boot to linux or navigate to an advanced options menu.
While hovering over the "Kali GNU/Linux" option, I pressed E to enter the GNU GRUB menu/configuration.
Here, I pressed shift to allow myself to navigate and edit the configuration.
I navigated down the the line that begins with "linux" and ends with "splash". At the end of the line, I added single init=/bin/bash
Single, sets the host to single user mode
init=/bin/bash tells the system to enter /bin/bash on boot
I then hit CTRL+X, and the system booted into a root prompt
I next mounted the root directory using, mount -rw -o remount /
This allows me to make changes such as /etc/passwd
I then changed the root password using passwd
I then entered the command df -h to show storage usage and availability on the VM
Finally, I used the command sync and then the command umount / and rebooted the system