- 先备份原始
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日
0字
0字
2024年10月
0字
0字
新增
0字
新增
0字
0字
新增
0字
0字
新增
0字
0字
新增
0字
0字
新增
0字
0字
新增
0字
新增
0字
0字
0字