Adding sudoers file for Active Directory Group
Hi,
I'm using sssd with the simple service provider to integrate my rhel 7 hosts into an Active Directory Domain. I would like to grant one group from Active Directory the permission to use
sudo%t01.example.com ALL=(ALL) ALL ## Read drop-in files from /etc/sudoers.d (the # here does not mean a comment) #includedir /etc/sudoers.d
Instead of editing the /etc/sudoers file I would like to add a file in /etc/sudoers.d/ which contains the information necessary. To do so I created the file /etc/sudoers.d/t01.example.com containing:
%t01.example.com ALL=(ALL) ALL
But this does not work. The user trying to use
sudoCould someone explain what to do to get this working, please?
Best regards,
Joerg
Responses