Categories
🏴‍☠️

visudo

visudo

root    ALL=(ALL:ALL) ALL

#user1    ALL=(ALL:ALL) ALL

Categories
digital ocean Linux Ubuntu 🏴‍☠️

Disable root ssh

/etc/ssh/sshd_config

PermitRootLogin yes -> PermitRootLogin no

sudo service ssh restart