Agent操作需要sudo 希望可以设置自动输入密码

Problem

当我们agent在操作需要sudo的时候,稍微不看就会停止住,必须时刻都盯着,经常会导致agent的超时,超时后,又必须用户点继续,不能你们ide自己点吗? 可以设置sudo可以执行操作的目录,记住密码,避免每次输入密码。

Solution

How should it work?

Use Case

When would you use this?

Priority

  • :red_circle: High - Blocking issue
  • :yellow_circle: Medium - Important improvement
  • :green_circle: Low - Nice to have

Additional Info

(Optional: screenshots, examples, links)