小编Why*_*Why的帖子

Centos 7 - 将用户添加到 sudoers 组 - 仍然不在 sudoers 文件中 - 为什么?

[user@localhost ~]$ su -
Password: 
Last login: ...
[root@localhost ~]# usermod -aG wheel user
[root@localhost ~]# exit
logout
[user@localhost ~]$ sudo echo 123
[sudo] password for user: 
user is not in the sudoers file.  This incident will be reported.
Run Code Online (Sandbox Code Playgroud)

我做错了什么?

linux redhat user-management centos sudo

5
推荐指数
1
解决办法
3万
查看次数

标签 统计

centos ×1

linux ×1

redhat ×1

sudo ×1

user-management ×1