• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Hack password in Linux – AnonyViet

AnonyViet by AnonyViet
February 1, 2023
in Security
0

1. On Linux, resetting the password for the root account can be done easily using single-user boot mode

Join the channel Telegram of the AnonyViet 👉 Link 👈

1.1 On GRUB:
When the kernel selection screen to boot appears, press “e” to enter the edit mode of boot parameters.

Select the line containing the kernel parameter. Eg:

kernel /boot/vmlinuz-2.6.11 ro root=LABEL=/

Press “e” to enter the editing window.
Move to the end of the line, add the word “single”. Press Enter to save changes. Type “b” to boot with single-user mode.
You will get the root’s shell without being asked for a password. Now just with the command “passwd” you can easily change the root password already! Done type “exit” to continue the system boot normally.

2.2 On LILO:
If you use LILO in graphic mode, when the LILO screen appears press “Ctrl-x” to exit the graphical interface and enter the “boot:” prompt. Knock on
linux single
After that, you will be able to access the root account without any password! Change the password as above.

2. So anyone sitting on your Linux box can gain root privileges? Yeah. Solution: Set a password for the GRUB/LILO boot loader.
2.1 Protecting GRUB
Do not allow editing GRUB config to enter single mode.
•Generate grub password hashed with md5Type /sbin/grub-md5-crypt Type in Grub password
We get a hash value
•Edit GRUB config file: /boot/grub/grub.conf: Below the timeout line add: password –md5
Bonus: Must enter GRUB password to boot HDH:
•Type below the title line: lock
•Type password –md5 in

2.2 Protecting LILO
Must enter password to boot:
•Edit file /etc/lilo.conf: before image, add password=
•Run /sbin/lilo –v –v to update lilo
Protect specific images for which: before image=/boot/vmlinuz- line password=

Allow the user to boot but do not give additional parameters to enter a single-user without a password: add the restricted line below the password.

Please set an additional password for GRUB/LILO to avoid losing control of the system accidentally.

The article achieved: 5/5 – (100 votes)

Tags: AnonyVietHackLinuxPassword
Previous Post

How to use Meeting Rooms – Facebook Messenger Rooms

Next Post

Download 15 copyrighted software worth $ 900 of WonderFox

AnonyViet

AnonyViet

Related Posts

How to use hackers use Splitfus to execute PowerShell malicious code
Security

How to use hackers use Splitfus to execute PowerShell malicious code

July 20, 2025
How to implement Shellcode Injection attack technique with Autoit
Security

How to implement Shellcode Injection attack technique with Autoit

March 14, 2025
How to exploit the holy hole of Hijacking on Windows
Security

How to exploit the holy hole of Hijacking on Windows

March 8, 2025
Hamamal: Shellcode execution technique from afar to overcome Antivirus's discovery
Security

Hamamal: Shellcode execution technique from afar to overcome Antivirus's discovery

February 10, 2025
Snov.io Email Finder: Search emails with only company name/domain name/LinkedIn profile
Security

Snov.io Email Finder: Search emails with only company name/domain name/LinkedIn profile

December 14, 2024
Capsolver: Automatic solution solution for business
Security

Capsolver: Automatic solution solution for business

December 12, 2024
Next Post
Download 15 copyrighted software worth $ 900 of WonderFox

Download 15 copyrighted software worth $ 900 of WonderFox

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Instructions for downloading Anh Hai’s Pho Shop game on Android

Instructions for downloading Anh Hai’s Pho Shop game on Android

November 8, 2025
Download training materials on Applying AI in teaching and learning in 2025

Download training materials on Applying AI in teaching and learning in 2025

November 8, 2025
How to pay health insurance on Momo online right at home

How to pay health insurance on Momo online right at home

November 8, 2025
How to create Flycam videos from photos to sell real estate

How to create Flycam videos from photos to sell real estate

November 8, 2025
Instructions for downloading Anh Hai’s Pho Shop game on Android

Instructions for downloading Anh Hai’s Pho Shop game on Android

November 8, 2025
Download training materials on Applying AI in teaching and learning in 2025

Download training materials on Applying AI in teaching and learning in 2025

November 8, 2025
How to pay health insurance on Momo online right at home

How to pay health insurance on Momo online right at home

November 8, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Instructions for downloading Anh Hai’s Pho Shop game on Android

Instructions for downloading Anh Hai’s Pho Shop game on Android

November 8, 2025
Download training materials on Applying AI in teaching and learning in 2025

Download training materials on Applying AI in teaching and learning in 2025

November 8, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

new88 trang chủ shbet trang chủ f168 trang chủ qq88 nhà cái 78win

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

new88 trang chủ shbet trang chủ f168 trang chủ qq88 nhà cái 78win

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply