Link to home
Start Free TrialLog in
Avatar of mhas01
mhas01Flag for Costa Rica

asked on

Adding Active Directory user as member of administrators in Linux

Good morning. I need to add an Active Directory group of users called "TheGroup", as a member of the administrators group of a Linux development box. Can you please tell me what command do I need to use, so that I don't have to add every member of this group individually, but instead add them all by simply adding this group to the administrators group in Linux. Also, is administrators a group already in Linux, or do I need to create it first?

Thanks in advance for your urgent help.
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

It will not work like that, you need to connect your Linux server to the Active Directory domain first, make sure that Windows accounts can authenticate with the Linux server using their AD account.

Once that succeeds you can create a local Linux group and add the users to that group... Now this is a little work to add the Linux server to the AD, so maybe it's a bridge to far, in any case, here's a nice walk-through
Avatar of mhas01

ASKER

Well, actually the Linux server is already part of the domain. And the TheGroup group already exists in Active Directory as well. TheGroup AD group has several account already as part of it, and the organization is looking to manage TheGroup in a centralized way. I'd like to take advantage of that hierarchy already in place, and not create additional hassle by needing to add or manage users individually.
ASKER CERTIFIED SOLUTION
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
one can add AD group next to wheel in sudoers (via visudo) then the group can sudo to root and do anything needed.