Created
April 22, 2014 13:20
-
-
Save aszel/11178954 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sicherheit RaspberryPi | |
1. | |
Default-User "pi" umbenennen | |
usermod --move-home --login martin --home /home/martin pi | |
2. | |
root-login verbieten | |
sudo vi /etc/ssh/sshd_config | |
PermitRootLogin no | |
SSH-Deamon neustarten | |
sudo /etc/init.d/ssh restart | |
3. | |
Apache sicherer machen | |
Autoindexer abschalten | |
rm /etc/apache2/mods-enabled/autoindex.conf | |
rm /etc/apache2/mods-enabled/autoindex.load | |
Server-Infos abschalten | |
vi /etc/apache2/conf.d/security | |
ServerTokens Prod | |
ServerSignature Off | |
TraceEnable Off | |
Apache neustarten | |
service apache2 restart | |
4. | |
Firewall | |
OFFEN. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment