vi /etc/sudoers.d/nopasswd4sudo

加入以下内容

用户名 ALL=(ALL) NOPASSWD : ALL

  

 

 

相关文章:

  • 2022-12-23
  • 2021-08-16
  • 2021-10-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-10
  • 2022-12-23
  • 2021-05-28
  • 2021-05-25
  • 2021-06-21
相关资源
相似解决方案