I have a question about the root user.
- I know that Ubuntu disables the root user by default but you can still use sudo
- I know that you can add/remove users from using the sudo command by entering in:
Code:sudo adduser <username> sudo
But here is my question, if i don't set a root password, can't anyone hack in, set a root password, and lock me out? And can't a local user on the system (like my son) do the same?
I've already read this:but I was still confused if it were better security-wise to either:HTML Code:https://help.ubuntu.com/community/RootSudo
- Leave the root user alone, and make only myself able to use sudo
- Enable root, set a lengthy password, and never log on it again, only making myself able to use sudo.
Which would be better?
Thanks!



Adv Reply







Bookmarks