This guide will provide you with an information on how to reset lost or forgotten root ( administrator ) password on Kali Linux.
In this tutorial you will learn:
- How to boot Into GRUB menu on Kali Linux
- How to edit GRUB menu
- How to check RW permissions on the root partition
- How to reset Kali root password and reboot the system
Software Requirements and Conventions Used
|Category||Requirements, Conventions or Software Version Used|
|System||Kali Rolling Release|
|Other||Privileged access to your Linux system as root or via the
# – 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
How to reset Kali Linux step by step instructions
- Boot Into GRUB menu
- Edit GRUB menu
- Check RW permissions on root partition
- Reset Kali root password
- Reboot Kali
At 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 unchanged
Your 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=0x0007f00
Make sure that you removed
splash boot option when editing grub’s menu item.
When trying to reboot with
reboot command 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