How To Disable Root Login on Ubuntu 20.04

Опубликовано: 13 Июль 2022
на канале: MivoCloud
2,397
241

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


Смотрите видео How To Disable Root Login on Ubuntu 20.04 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь MivoCloud 13 Июль 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,397 раз и оно понравилось 241 людям.