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

Change doc for Mokey -> FreeIPA access creation #43

Closed
mhaluska opened this issue Jan 8, 2020 · 2 comments
Closed

Change doc for Mokey -> FreeIPA access creation #43

mhaluska opened this issue Jan 8, 2020 · 2 comments

Comments

@mhaluska
Copy link

mhaluska commented Jan 8, 2020

This part is really not nice solution, you should not create standard user for Mokey app.

  1. New role is not required, there already exist 'User Administrator'
  2. Don't use user, use service
$ mkdir /etc/mokey/keytab
$ kinit adminuser
$ ipa service-add mokey/server.example.com
$ ipa role-add-member 'User Administrator' --services=mokey/server.example.com@EXAMPLE.COM
$ ipa-getkeytab -s freeipa.example.com -p mokey/server.example.com@EXAMPLE.COM -k /etc/mokey/keytab/mokeyapp.keytab
$ chmod 640 /etc/mokey/keytab/mokeyapp.keytab
$ chgrp mokey /etc/mokey/keytab/mokeyapp.keytab
@g5pw
Copy link
Contributor

g5pw commented Sep 16, 2020

Please note, the "User Administrator" role gives more permissions to the mokey service, namely

  • User Administrators
  • Group Administrators
  • Stage user Administrators

There's a subtle difference between the "user Administrator" role and the "User Administrators" privilege.

@aebruno
Copy link
Member

aebruno commented Sep 24, 2020

@g5pw @mhaluska Thanks for pointing this out. Would be good to figure out the min permissions required to run the mokey service and add those to the docs. You can always create a specific role for mokey which would give you complete control over the permissions.

@aebruno aebruno closed this as not planned Won't fix, can't repro, duplicate, stale Jan 25, 2023
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

3 participants