Fix permission hardener

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-04-28 16:10:14 -07:00
parent fe60c720dc
commit a147f1a746
No known key found for this signature in database
GPG Key ID: 555C902A34EC968F
2 changed files with 4 additions and 2 deletions

View File

@ -26,7 +26,8 @@ sudo chmod 644 /etc/apt/apt.conf.d/99sane-upgrades
sudo apt install --no-install-recommends qt5ct qt5-style-plugins arc-theme -y
# Enabling SUID Disabler and Permission Hardener
sudo systemctl enable --now permission-hardening
sudo permission-hardener enable
sudo systemctl enable --now permission-hardener
# Restrict /proc and access
sudo systemctl enable --now proc-hidepid.service

View File

@ -26,7 +26,8 @@ sudo chmod 644 /etc/apt/apt.conf.d/99sane-upgrades
sudo apt install --no-install-recommends qt5ct qt5-style-plugins arc-theme git -y
# Enabling SUID Disabler and Permission Hardener
sudo systemctl enable --now permission-hardening
sudo permission-hardener enable
sudo systemctl enable --now permission-hardener
# Restrict /proc and access
sudo systemctl enable --now proc-hidepid.service