In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "the method of Linux cracking the root password". In the daily operation, I believe that many people have doubts about the method of cracking the root password by Linux. The editor consulted all kinds of materials and sorted out a simple and easy-to-use operation method. I hope it will be helpful for everyone to answer the doubt of "the method of Linux cracking the root password". Next, please follow the editor to study!
(1) password cracking of RedHat/CentOS/Fedora system
1. Press E on the grub options menu to enter edit mode
two。 Edit the kernel line and add S (or Single) at the end
3. Press B to start to single-user mode
4. After entering, execute the following command
# mount-t proc proc / proc
# mount-o remount,rw /
# passwd
# sync
# reboot
(2) password cracking of Debian linux system
1. In the grub options menu 'Debian GNU/Linux, … (recovery mode)', press e to enter edit mode
two。 Change the ro single at the end of the kernel line to rw single init=/bin/bash, and press b to restart
3. After entering, execute the following command
Root@ (none) # mount-a
Root@ (none) # passwd root
Root@ (none) # reboot
(3) password cracking of Freebsd system
1. Boot to the boot menu
two。 Select each item (press 4) to enter single-user mode
3. Enter a list of commands after entering
Root@#mount-a
Root@#fsck-y
Root@#passwd (change password command)
Root@#root (user name to crack the password)
Enter new unix password:
Root@#init 6 (restart)
(4) password cracking of Solaris system
1. Select the solaris failasfe item in the grub option
two。 The system prompts Do you wish to have it mounted read-write on / a? [ymeng npr?] Select y
3. Enter single-user mode
4. Enter the following command: passwd
Root@#init 6 (restart)
(5) password cracking of NetBsd system
1. Power on: when the prompt appears and starts the countdown to five seconds, type the following command:
> boot-s (enter single-user mode command)
two。 In the following prompt symbol
Enter pathname of shell or RETURN for sh:
Press Enter.
3. Type the following instructions:
# mount-a
# fsck-y
4. Use passwd to change the password for root.
5. Use the exit instruction to enter multiplayer mode.
(6) password cracking of SUSE system
1. Restart the machine, after the grub boot interface appears, add init=/bin/bash to the option to start linux, by passing the init=/bin/bash parameter to the kernel to make OS run bash before running the login program, a command line appears.
two。 Wait a moment (none) #: command line.
3. At this point, typing mount-n /-o remount,rw means that the root file system will be re-mount to read and write, and once you have read and write permission, you can change the password through the passwd command.
4. At this point, enter the passwd command to reset the password.
5. Remember to use mount-n /-o remount,ro to set the root file system to its original state after modification.
At this point, the study of "the method of Linux cracking root password" is over. I hope to be able to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.