Log in as root user
Resetting the root user password
passwd
Reset Tran User Password
PASSWD Tran
============================================================================
Redhat/centos system root Password back:
Grub Options Menu Press E to enter edit mode
Edit kernel that line,/init 1 or/single
Press B to restart (enter rescue mode)
Execute passwd root (reset new password)
Init 6 reboot to enter new password
============================================================================
(ii) Debian Linux system password cracking
1. In the Grub Options menu ' Debian gnu/linux,... (recovery mode) ', press E to enter edit mode
2. Edit the kernel on the side of the RO single to RW single init=/bin/bash, press B to perform the restart
3. After entering, execute the following command
[Email protected] (none) #mount-A
[Email protected] (none) #passwd root
[Email protected] (none) #reboot
============================================================================
Three FREEBSD System Password hack
1. Booting into the boot menu
2. Select each item (press 4) to enter single user mode
3. Enter a list of commands after entering
[Email protected] #mount-A
[Email protected] #fsck-y
[Email protected] #passwd (change password command)
Root user, normal user password reset and retrieve (CENTOS/REDHAT/DEBIAN/FREEBSD)