Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

.. and it saddens me each time I read a comment like this. It's best practice to disable remote root login. A whole industry supports this.


And, yet, the best practice seems to require an user account with full sudo priviledges.

If you know the difference between that and root, please explain it, because I can't see any.


Well root is the default full access account. It is a bit easier to root@serveraddress and brute force in that way than needing to guess which account in the system has sudo access.

It also becomes easier to detect when someone is attempting to break in when you can see logs of common user names in a row fail to log in.


I don't do much admin outside my hobby boxes. One guess would be, excluding the ability to enter a root shell, each sudo command is logged so you know who ran it. If the user is root, then it's harder to know what they did while they were root.

Disabling root also means you now have to guess the username and the password instead of just the password.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: