Switch sudo into manual mode

sudo update-alternatives --set sudo /usr/bin/sudo.ws

Fix the system time on the ubuntu OS

sudo apt-mark auto chrony && sudo apt install -y systemd-timesyncd
sudo apt install -y ntpsec-ntpdate
sudo ntpdate -u 172.16.0.22
sudo systemctl enable systemd-timesyncd
sudo systemctl start systemd-timesyncd
sudo systemctl status systemd-timesyncd