The reason is that the user is not added to the sudo configuration file.
Solution:
- Switch to the root user and run the visudo command
- Find root ALL=(ALL) ALL, add a line below xxx ALL=(ALL) ALL where xxx is the name of the user to join
The reason is that the user is not added to the sudo configuration file.
Solution:
Comments