How to reset Kali Linux root password
How to reset Kali Linux root password
- Lubos Rendek
- Kali Linux
Objective
This 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
Requirements
Physical access to your computer or virtual machine with the Kali Linux installation is required.Difficulty
EASYConventions
- # - requires given linux commands to be executed with root privileges either directly as a root user or by use of
sudo
command - $ - requires given linux commands to be executed as a regular non-privileged user
Instructions
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
APPLY NOW
Step 2: Edit GRUB menu
Step 3: Check RW permissions on root partition
Step 4: Reset Kali root password
Step 5: 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
Troubleshooting
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
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
No hay comentarios:
Publicar un comentario