为普通用户添加sudo权限 2022-03-30 本文已影响0人 shaorj4071 1、切换root用户,打开sudoers文件 su root vim /etc/sudoers 2、在“root ALL+(ALL) ALL”添加“用户名 ALL=(ALL) ALL”,保存