How to grant permissions to a normal IPA user to change user-auth-type of other IPA users without giving it write privilege to any objectclasses except ipauserauthtypeclass
Issue
- I want to grant a normal IPA user
ipauser
permission to change other IPA usertargetuser
auth type:
# kinit ipauser
# ipa user-mod --user-auth-type='password' targetuser
ipa: ERROR: Insufficient access: Insufficient 'write' privilege to the 'objectClass' attribute of entry 'uid=targetuser,cn=users,cn=accounts,dc=example,dc=com.
- I figured out that now the command also needs to add
ipauserauthtypeclass
objectclass when per user auth type is edited for the first time. However I do not want the permission to giveipauser
ability to write any objectclass. I only wantipauser
can addobjectclass=ipauserauthtypeclass
totargetuser
.
Environment
- Red Hat Enterprise Linux 8.10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.