When installing and deploying, is it necessary to add tidb ALL=(ALL) NOPASSWD: ALL to the sudoers file for the installation user?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 安装部署时候,安装用户的sudouses 是否一定要加tidb ALL=(ALL) NOPASSWD: ALL,或者有人能具体说下集群运行和维护是安装用户是需要哪些sudo权限

| username: mytidb

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots/Logs/Monitoring]
During installation and deployment, is it necessary to add tidb ALL=(ALL) NOPASSWD: ALL to the sudoers file for the installation user? If not added, there will be exceptions and the installation cannot proceed. Some companies require that the deployment user cannot have this permission. How can this be avoided? Thank you, experts~