How to enable root access in Linux
In a new linux server installation, by default root access is disabled.
In order to enable root access, login to the server with the authenticated user and switch the user to root by entering the command su - root
Enter the password of the root and now open the file sshd_config stored on the path - /etc/ssh/sshd_config by entering the coomand:- vi /etc/ssh/sshd_config
Now un-comment the entry #PermitRoot Login prohibited-password to PermitRoot Login yes and save the file by pressing Esc key and :wq