the wisdom of the shadows

This commit is contained in:
Vasco
2026-04-22 18:07:31 +01:00
parent 2ad2e4b8e1
commit ad8617fefe
2 changed files with 5 additions and 6 deletions

View File

@@ -45,8 +45,7 @@ systemctl enable --now httpd
# acho ?????
sudo chgrp apache /etc/shadow
sudo chmod 440 /etc/shadow
sudo chmod o+x /home/user
sudo chmod 444 /home/user/.google_authenticator
sudo chmod o+x /home/john
sudo chmod 444 /home/john/.google_authenticator
sudo chown apache /home/john/.google_authenticator
sudo chmod 400 /home/john/.google_authenticator
sudo chown apache /home/user/.google_authenticator
sudo chmod 400 /home/user/.google_authenticator