Task 7 Disable root login

Hi,

For disabling root login, I changed the PermitRootLogin to no and restarted the sshd service but marked as failed. Is there anything which I had to do for completing the task ?

Thanks.

Hello,

I just reviewed your answer and found that you changed PermitRootLogin to no but you forgot to remove # from start of this line, hence it was not considered by the configuration and changes were not in impact.

I hope it clears your doubt.

Thanks
Inderpreet

1 Like

Hi, My bad. Thank you!

1 Like