Linux add user & disable root login via ssh on Linux Apr 26, 2022 Add User sudo adduser user1 --ingroup sudo Disable root logins via SSH Edit the /etc/ssh/sshd_config file to modify the PermitRootLogin option as follows: PermitRootLogin no