Linux System Password hack

Source: Internet
Author: User

(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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.