How can Ubuntu users not use the sudo command?

  
                

The sudo command can be used to increase permissions, but in Ubuntu system operations, users sometimes use the sudo command to prompt an error. How to solve this problem? The following small series will introduce you to Ubuntu users using the sudo command error solution, just interested friends may wish to understand.

Problems and Solutions:

The original, not every user is able to use the sudo command, because only owned by the user privileges can use the sudo command, and the permissions are In /etc/sudoers. We can use the command visudo to get it directly (I just do this), you can also open /etc/sudoers through the editor, open it, add your own account and save it as follows.

# User privilege specification

root ALL=(ALL:ALL) ALL

linc ALL=(ALL:ALL) ALL

The above is Ubuntu cannot The use of the sudo command solution, the reason is not available because the user you created does not have permission to use, you can use the visudo command to solve.

Copyright © Windows knowledge All Rights Reserved