Simply edit the file /etc/securetty and add the following to the end of the file:
This will allow up to 10 telnet sessions to the server as root.
Configure FTP for root logins
Edit the files /etc/vsftpd.ftpusers and /etc/vsftpd.user_list and remove the ‘root‘ line from each file.
Make sure that you NEVER configure your production servers for this type of login.