4

I'm following this article. What I've done:

  • I can connect to Active Directory
  • I can login to the Active Directory

Now what I'm looking for is a way to make any active directory user a sudoer. I'm using Ubuntu 14.04 and Active Directory 2008r2

1 Answer 1

0

For sudoers file:

In a terminal type:

sudo visudo

and got to line

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

add your domain like this:

%domain\\domain^Users ALL=(ALL) ALL

but I advice you to use the LikewiseOpen

3
  • Better edit /etc/sudoers with visudo, it checks if the syntax is right before saving.
    – Pabi
    Jul 14, 2014 at 9:50
  • any way i used to nano .
    – ahmed sami
    Jul 14, 2014 at 9:53
  • @ahmedsami that's okay. You can set the EDITOR environment variable to nano. Then commands like visudo will use that editor.
    – muru
    Jul 14, 2014 at 10:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .