I have multiple Linux servers (Ubuntu) that are joined to an active directory, and users are using their own credentials to log in, the problem is where I wanna define uid and gid for these users to grant root permission at the start (I need to define a user for ansible on all the servers and this user should have root permissions at the start), and these users do not exist in passwd and shadow file, which makes sense. How can I define permissions for Domain users in a Linux system? Any ideas?
Thanks