How to permit access to multiple Domain Groups in RHEL?

Posted on

Goal: I want to add members of multiple Active Directory Groups to loging to the RHEL server.

OS: RHEL 8.4
List of AD Groups to permit login access
1. Domain-Admins
2. CI-Admins

I joined the server to domain by using the following command

realm join --v --user=username@DOMAIN.COM

After joining the server to domain, I donot know how to permit multiple AD Groups to login to this server. Do I have to run "realm permit -g" command multiple times or by using comma seperated to permit multiple AD Groups to be able to login to the server?

Responses