I want to give access domain admins group to sudoers access.
I have come across with many commands but nun of works for me.
fname.lname ALL=(ALL) ALL
With this command i can give access to a particular user, But i want to give access to all the members of the domain admin group.
%DOMAINNAME\\domain\ admins ALL=(ALL) ALL
%DOMAINNAME\\domain\ admins ALL=(ALL) ALL
%DOM.DOMAINNAME.COM\\domain\ admins ALL=(ALL) ALL
DOMAINNAME\\domain\ admins ALL=(ALL) ALL
DOMAINNAME\\domain\ admins ALL=(ALL) ALL
DOM.DOMAINNAME.COM\\domain\ admins ALL=(ALL) ALL
%DOMAINNAME\\domain_admins ALL=(ALL) ALL
Like many commands i have tried but non out of these working.
My domain Group have two words i.e
domain admins
Complete domain name is like:
DOM.DOMAINNAME.COM
And short name is
DOMAINNAME
Tell me how can i give access to sudoers for a group.
I am working on python scripting where it asks for sudo run but the user doesn't have sudo access or everytime no any domain user is entertain to enter credentials.