In this video I will show you how to disable remote access to the Root user profile and how to restore it. We will go through the points - creating a user, granting the user Sudo rights, remote connection to the terminal, depriving the possibility of remote connection to the Root profile
Commands used
Useradd -m -s /bin/bash -c ‘Admin’ username
Passwd username
Usermod -aG sudo username
cd /var/log/
sudo cat auth.log
sudo nano /etc/ssh/sshd_config
sudo systemctl restart sshd
Watch video How To Disable Root Login on Ubuntu 20.04 online without registration, duration hours minute second in high quality. This video was added by user MivoCloud 13 July 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,397 once and liked it 241 people.