We use JIT (Just-In-Time) access for temporary Domain Admin , Schema Admin , and Enterprise Admin rights. This works well, as these elevated rights are only needed occasionally. It's not an issue for users to manually check the checkbox when these rights are required.
In the future, we plan to add our ServerOperators group to JIT as well, since this group is necessary for the daily work of our system administrators.
Question:
Is it possible to automatically assign a group (right) when a user checks out an account via PAM?
Use case:
User-X does not have any special group memberships by default, only Domain Users .
User-X checks out an account via PAM.
JIT automatically assigns a group (e.g., ServerOperators ) without requiring the user to manually select it during checkout—ideally, the group is pre-selected by default.
Rationale:
The idea is that the account should function as a normal user by default. For example, the user works only 2 days abd need elevated permissions (e.g., ServerOperators) two days per week.
During the remaining days, if the account were to be compromised, it would only have standard user rights (Domain Users), thus reducing the attack surface.
[image]