- 先备份原始
sudoers
文件
sudo cp /etc/sudoers /etc/sudoers.old
- 给
sudoers
添加写权限
sudo chmod +w /etc/sudoers
- 打开sudoers文件
sudo vim /etc/sudoers
- 在
sudoers
文件中添加以下配置:
%your_user_name% ALL=(ALL) NOPASSWD:ALL
sudoers
文件sudo cp /etc/sudoers /etc/sudoers.old
sudoers
添加写权限sudo chmod +w /etc/sudoers
sudo vim /etc/sudoers
sudoers
文件中添加以下配置:%your_user_name% ALL=(ALL) NOPASSWD:ALL
购买将消耗【10】元
点击验证码可以刷新
你确认吗?
2024年10月1日
2024年10月
新增
新增
新增
新增
新增
新增
新增
新增
新增
新增