(i) CentOS Linux system password cracking
1. Press E to enter edit mode on the GRUB Options menu
2. Edit Kernel line/init 1 (or/single)
3. Press B to restart
4. After entering, execute the following command
[Email protected] #passwd root (set root password)
Enter new UNIX password: Enter the password
[Email protected] #init 6
(ii) Ubuntu & Debian Linux system password cracking
1. In the Grub Options menu ' Debian gnu/linux,... (recovery mode) ', press E to enter edit mode
2. Edit kernel the last 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) #passwdroot
[Email protected] (none) #reboot
(iii) FREEBSD system password cracking
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)
[Email protected] #root (username to crack the password)
Enter New UNIX Password:
[Email protected] #init6 (restart)
(iv) Solaris system password cracking
1. Select the Solaris FAILASFE entry in the Grub Options menu
2. Is the system prompt does wish to has it mounted read-write on/a? [Y,n,?] Select Y
3. Enter single-user mode
4. Enter the following command
#passwd
#New passwd: Enter a new password
#Re-enter New passwd: Enter the password in the second
#init 6 (restart)
(v) NETBSD system password hack
1. Power on: When the prompt sign appears and start the countdown for five seconds, type the following command:
> boot-s (enter single-user mode command)
2. In the following hint symbol
Enter pathname of shell or RETURN for SH:
Press Enter.
3. Type the following command:
# mount-a
# fsck-y
4. Use passwd to change the root password.
Linux System Password hack