Linux Hardening
by IamZ - Friday September 29, 2023 at 01:06 AM
#1
Today, I decided to check how vulnerable my computer was. I wanted to test the physical security of it. I use Linux (doesn't matter what Linux I use) and there are methods if you were to forget your password, to reset it. Below are some steps how you can do so.

https://pastebin.com/raw/s2wSBuxS

How to secure your system to avoid this from happening?

You can either 1) Encrypt the entire system with veracrypt (if it allows you because I couldn't do it) or 2) configure GRUB password authentication. I will be showing you how to configure GRUB password.

https://pastebin.com/raw/mb6324Vi
Reply
#2
Thanks for the guide.
Will this also work on an already installed distro?
When i installed my linux i couldn't encrypt my drive even though i chose to encrypt it.
Reply
#3
(Sep 29, 2023, 01:16 AM)ryuzaki Wrote: Thanks for the guide.
Will this also work on an already installed distro?
When i installed my linux i couldn't encrypt my drive even though i chose to encrypt it.

Yes, that I know it only works if the distro is installed.
Reply
#4
Isn't useful. The Linux root partition should be encrypted. The data partitions should be encrypted separately. Secure boot should be on and set-up to protect the kernel.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Building a subnet. Inexorable_Baer 1 169 Jan 11, 2026, 02:20 AM
Last Post: linbobo668899
  Linux from Scratch kirby 7 4,854 Jan 06, 2026, 05:33 PM
Last Post: swisstiger
  your linux distro dundrondo 22 4,625 Apr 10, 2025, 11:36 AM
Last Post: fogplank
  Virtualbox 7.1.4 in Ubuntu 24.10 Blinkers 9 2,115 Apr 01, 2025, 08:11 PM
Last Post: capseco
  KDE or Gnome jahy 16 10,193 Mar 26, 2025, 10:00 PM
Last Post: capseco

Forum Jump:


 Users browsing this forum: 1 Guest(s)