Knowledge Articles

How To Disable Or Enable Root Log in In Centos

How To Disable Or Enable Root Log in In Centos

root login
– Log in to the Server.

– Go to the below path

/etc/ssh

– After that open sshd.conf file

nano sshd.conf

– In this file PermitRootLogin should be Yes

PermitRootLogin yes

– Restart sshd services.

  service sshd restart

Tags:Root,ROot login ,Su,SUdo user,Su user login.

About the author

admin

Add Comment

Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.