解决方法:
1.通过编辑器来打开/etc/sudoers
2.直接使用命令visudo
打开sudoers后,如下加上自己的帐号保存后就可以了。

# User privilege specification  
root    ALL=(ALL:ALL) ALL  
yeching    ALL=(ALL:ALL) ALL  

相关文章:

  • 2021-11-04
  • 2021-08-18
  • 2021-09-22
  • 2021-06-25
  • 2021-08-14
  • 2021-10-02
  • 2021-10-16
猜你喜欢
  • 2021-09-24
  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
  • 2022-02-18
相关资源
相似解决方案