0

Hi we have a large company and have some Domain Admins who belong to the

id myadminuser
groups=101010(domain admins),

"domain admins" group.

I was surprised by default that the sudoers %admin group (If I understand correctly), extends to users in our "domain admins" group on the domain controller. Perhaps hardcoded in sssd??

Is there a way to disable that feature? We simply want to limit the sudoers to our Active directory admins which need access to the server... People we explicitly add to "thisServerGroup" which I understand we can explicitly state in sudoers like this:

%thisServerGroup ALL=(ALL) ALL

1 Answer 1

3

I have no experience with SSSD, but since it seems to mimic Active Directory, I can draw some parallells to Microsoft Active Directory

In the Microsoft world a Domain Administrator is a "superroot" user, aka. a user with admin/root privileges on every single machine in the domain, if not the whole forrest. So them having root access to any machine is quite normal. Normally you create some secondary admin group where you restrict some of the more dangerous privileges and add most of your sysadmins there, and only give Domain Administrator access to a few senior sysadmins. There's the even more dangerous account: Administrator, that's the built-in Administrator account for the whole domain, which some people quite commonly save the password for on a piece of paper and lock it in a safe or something to that effect.

If this was a Microsoft scenario, I'd tell you to move your admins to some other group, but to not try to change the permissions of the Domain Administrators group.

Also note that commonly you never add personal user account to these Domain Admin groups, you create secondary admin users for your sysadmins and give those access, and you then make sure that the sysadmins use their personal accounts for personal tasks and admin accounts for admin tasks.

You must log in to answer this question.

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