There is a time useless Kali Linux, plus recently installed system has more, system root password forget, really trouble ah. Some of the methods I saw on the internet did not go in after trying, probably because different Linux is not the same.
If you forget the password and re-install the system, I think this is too hard to force it, the developer certainly final touches, it is necessary.
Actually, it's just a few orders.
1. In the boot interface Press E to enter edit mode after the relevant kernel column is added: Init=/bin/bash
2. After starting mount-no REMOUNT,RW/
3. passwd Root
4.id//view some information; I think there should be no need.
5.sync//The Sync command was not run before reboot, causing changes to the system files and not working properly
6.mount-no Remount-ro
7.reboot//I reboot failed, forced shutdown, but still entered the Kali Linux. haha
End.
Kali Linux forgot root password reset method