vm:kali
Kali VM
Website: https://kali.org/
Docs: https://www.kali.org/docs/
Iso: https://cdimage.kali.org/kali-2022.2/kali-linux-2022.2-installer-amd64.iso
IP: DHCP (192.168.1.177)
User: warnaud
SSHKeys : root
NTP
apt install -y ntpdate ntp systemctl enable ntpsec --now vi /etc/ntpsec/ntp.conf
... # pick a different set every time it starts up. Please consider joining the # pool: <https://www.pool.ntp.org/join.html> #pool 0.debian.pool.ntp.org iburst #pool 1.debian.pool.ntp.org iburst #pool 2.debian.pool.ntp.org iburst #pool 3.debian.pool.ntp.org iburst server ntp.fortier-system.com iburst ...
systemctl restart ntpsec ntpq -p remote refid st t when poll reach delay offset jitter ======================================================================================================= ntp.fortier-system.com .DNS. 16 u - 68m 0 0.0000 0.0000 0.0001
Added packages
apt install htop ccze dfc
Updates
apt update && apt list --upgradable apt upgrade
Xrdp
apt install xrdp systemctl enable xrdp --now
Login works but spits error like “Authentication is required to create a color managed device”:
Fix
apt install xrdp echo "polkit.addRule(function(action, subject) { if ((action.id == "org.freedesktop.color-manager.create-device" || action.id == "org.freedesktop.color-manager.create-profile" || action.id == "org.freedesktop.color-manager.delete-device" || action.id == "org.freedesktop.color-manager.delete-profile" || action.id == "org.freedesktop.color-manager.modify-device" || action.id == "org.freedesktop.color-manager.modify-profile") && subject.isInGroup("{users}")) { return polkit.Result.YES; } });" > /etc/polkit-1/localauthority.conf.d/02-allow-color.d.conf echo "[Allow Colord all Users] Identity=unix-user:* Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile; ResultAny=no ResultInactive=no ResultActive=yes" > /etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla
vm/kali.txt · Last modified: 2022/06/14 12:45 by warnaud