The reason is that the user is not added to the sudo configuration file.


  1. Switch to the root user and run the visudo command
  2. Find root ALL=(ALL) ALL, add a line below xxx ALL=(ALL) ALL where xxx is the name of the user to join
Last modified: 2020年2月14日


Write a Reply or Comment

Your email address will not be published.