Both in my ubuntu desktop host and virtual machine. I have't login as root for about a month, during which I upgraded the kernel. I found my root password doesn't work anymore. However, by using sudo passwd root, I can easily reset the root password by current user password. How could this happen? I don't have a problem anymore, just curious about the underline reason for this.
Thank you!
|
|
||||
|
|
|
First of all, Secondly, in order to remotely infiltrate a PC through the use of So, no, there is no direct security risk. Certain (but uncommon and illogical) configurations may create a loophole there, but that's it. |
|||
|
|
|
No, it's not a security problem. If you have the ability to run sudo commands as root, which users generally do in Ubuntu, you're fine. The idea behind sudo is that you can run commands as root, without logging in as root. Not a security problem. Not unusual. The system is working like it's supposed to. Nothing to see here. |
|||
|
|
|
It is not a big problem, Your user was granted as root.You can create a user that is not granted as root. Look at account type, a Administrator can use sudo to become root. Administrator:
Standard:
But how it actually work? We can find answer at
It means only member of sudo and admin can use sudo to have more permission than a normal user. You may also wants to check |
|||
|
|


