将ADpipe理员放入/ etc / sudoers

我已经将以下内容添加到/ etc / sudoers:

%DOMAIN\\domain\ admins ALL=(ALL) ALL 

当我login使用pipe理员帐户,我得到这个:

 [[email protected]@plex ~]$ sudo yum update -y [sudo] password for [email protected]: [email protected] is not in the sudoers file. This incident will be reported. 

我希望我的ADpipe理员在Linux服务器上成为完整的root用户。

我正在使用REALMD将我的Linux机器连接到AD。

如果getent usersgetent groups不显示AD用户和组,则您或者没有正确join到AD中,或者在某处存在错误configuration(可能位于/etc/nsswitch.conf )。 如果你看不到join到AD的盒子,我会试着用这里描述的 kinit重新join和testing,看看是否能解决你的问题。