Disable Root Login Kodekloud

 


Solution:

You need to disable root login in all appservers. So

login to appserver 1 at first 

ssh tony@stapp01

sudo su

vi /etc/ssh/sshd_config

Press I button

Uncomment by removing # in PermtiRootLogin and replace yes with no

PermtiRootLogin no

Save it by :wq!

Then restart sshd by typing

service sshd restart

Next go to appserver 02 and appserver 03 and do the same thing like appserver 01

Download Coding Interview Book and Get More Tutorials for Coding and Interview Solution: Click Here

Download System Design Interview Book and Get More Tutorials and Interview Solution: Click Here

Do you need more Guidance or Help? Then Book 1:1 Quick Call with Me: Click Here

Share on Google Plus

About Ashadullah Shawon

I am Ashadullah Shawon. I am a Software Engineer. I studied Computer Science and Engineering (CSE) at RUET. I Like To Share Knowledge. Learn More: Click Here
    Blogger Comment
    Facebook Comment

1 comments:

  1. An fascinating discussion is value comment. I think that it is best to write extra on this matter, it won’t be a taboo topic however generally people are not enough to talk on such topics. To the next. Cheers blood purifying herbs

    ReplyDelete