Add AD Group account to sudoers in Ubuntu

Add AD Group account to Sudoers

Add Active Directory Group account to sudoers:

1.Figure out the AD group name using $ id <AD User Account>. The command lists all the AD groups that the account is member of.

ubuntuhost:/$ id itadminuser
uid=472827969(itadmingroup)

2.Add Group you see above to the sudoers file

//Edit sudoers file
$ sudo vi /etc/sudoers

//Add AD group to the file
%itadmingroup ALL=(ALL) ALL

Add AD Group account to Sudoers