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.
mhas01Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Zephyr ICTCloud ArchitectCommented:
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
0
mhas01Author Commented:
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.
0
Zephyr ICTCloud ArchitectCommented:
Ok, than the big part is done, sorry that was not clear to me ...

In samba you could use group mapping, but what would the group be used for? Is it just to make sure only people in this group can log into the server, if that's the case you could also do this via ssh_config  with the AllowGroups variable ... Or use etc/security/access.conf, but that would imply you already having the local user group, so might not be an option. Another option is to configure the pam_winbind.comf and adjust the "require_membership_of = [SID or NAME]" setting ...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gheistCommented:
one can add AD group next to wheel in sudoers (via visudo) then the group can sudo to root and do anything needed.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.