root is disabled code example
Example: linux remove root access
# remove root external access (need reboot)
sed -i.bak "s/PermitRootLogin yes/PermitRootLogin no/" /etc/ssh/sshd_config
# remove root external access (need reboot)
sed -i.bak "s/PermitRootLogin yes/PermitRootLogin no/" /etc/ssh/sshd_config