ObjectiveThis guide will provide you with an information on how to reset lost or forgotten root ( administrator ) password on Kali Linux.
Operating System and Software Versions
- Operating System: - Kali Rolling Release
RequirementsPhysical access to your computer or virtual machine with the Kali Linux installation is required.
- # - requires given linux commands to be executed with root privileges either directly as a root user or by use of
- $ - requires given linux commands to be executed as a regular non-privileged user
Step 1: Boot Into GRUB menu
BLUE SKY STUDIOS are looking for Linux Administrator to maintain and support the Studio's 450+ production Linux workstations, including daily interactions with the Studio’s digital animation artists.
LOCATION: Greenwich, Connecticut, USA
Step 2: Edit GRUB menu
Step 3: Check RW permissions on root partition
Step 4: Reset Kali root password
Step 5: Reboot KaliAt this stage you are done. Simply reboot your system or continue booting using the following linux command:
root@(none):/# exec /sbin/init
Enter new UNIX password: Retype new UNIX password: passwd: Authentication token manipulation error passwd: password unchangedYour root partition is mounted read-only. Try:
# mount -o remount,rw /to resolve this issue.
[ end Kernel panic - not syncing: Attempted to kill init! exit code=0x0007f00Make sure that you removed
splashboot option when editing grub's menu item.
When trying to reboot with
rebootcommand I get:
Failed to connect to bus: No such file or directory Failed to talk to init daemon.Ignore, and reboot with:
# exec /sbin/init