Konfiguration von Kali
Version vom 25. Februar 2023, 19:45 Uhr von Thomas.will (Diskussion | Beiträge) (→sudo passwortlos)
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