Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for realm permit and deny comamnds #110

Open
chazragg opened this issue Aug 10, 2024 · 0 comments
Open

Add support for realm permit and deny comamnds #110

chazragg opened this issue Aug 10, 2024 · 0 comments

Comments

@chazragg
Copy link

While setting up AD integration, it would be ideal to support a declarative list of users/groups that are permitted to log in to the system.

some example commands are:

realm permit [email protected] BAR.COM\foo Add domain users to the permit list
realm permit -g Administrators [email protected] Add Domain groups to the permit list
realm permit -x [email protected] Widthdraw user from permit list
realm permit -x -g Administrators Widthdraw group from permit list
realm dent --all Deny all logins from the domain, only supported command for deny, realm: Specifying deny without --all is deprecated. Use realm permit --withdraw

I think it would also benefit to have a similar option to exclusive from the ansible.posix.authotrized_key module to hold a declarative list of allowed logins to be held in ansible

there are only 3 states for permitted login:

  • Allow all
  • Allow specified
  • Deny all

so this will require a check to ensure deny is not set along the permit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant