用户添加root 权限时间:2022-07-30 19:25:01修改 /etc/sudoers 文件,找到下面一行,在root下面添加一行,如下所示: ## Allow root to run any commands anywhere root ALL=(ALL) ALL jenkins ALL=(ALL) ALL