Konfiguration von Kali: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 15: | Zeile 15: | ||
*sudo visudo | *sudo visudo | ||
%sudo ALL=(ALL:ALL) NOPASSWD:ALL | %sudo ALL=(ALL:ALL) NOPASSWD:ALL | ||
| + | =ssh= | ||
| + | ;installieren | ||
| + | *apt install -y ssh | ||
| + | ;aktivieren | ||
| + | *systemctl enable ssh --now | ||
| + | Synchronizing state of ssh.service with SysV service script with /lib/systemd/systemd-sysv-install. | ||
| + | Executing: /lib/systemd/systemd-sysv-install enable ssh | ||
Version vom 25. Februar 2023, 19:45 Uhr
Voreingestelltes Root-Passwort ändern
- passwd
Git installieren
- apt install git
Netzwerk anpassen mit dem Netzwerk Manager
Automatische Updates abschalten
- Nur für die Schulung, sonst ist es selbstverständlich sinnvoll.
- nano /etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Update-Package-Lists "0"; APT::Periodic::Unattended-Upgrade "1";
sudo passwortlos
- Zeile entsprechend anpassen
- sudo visudo
%sudo ALL=(ALL:ALL) NOPASSWD:ALL
ssh
- installieren
- apt install -y ssh
- aktivieren
- systemctl enable ssh --now
Synchronizing state of ssh.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable ssh