ibm-messaging / mq-helm

Apache License 2.0
25 stars 33 forks source link

how to create groups ? #45

Closed inggaboluna closed 1 year ago

inggaboluna commented 1 year ago

I can create users without any issue but when I try to create a group I get the next following message:

Unknown user/group

The provided name for the given type is not defined on the system. Make sure that the name is defined and that it matches the type of entity

If I use one of the groups under /etc/group then the group can becreated but this directory is lock and the command groudadd inside the running pod gives me the next message

groupadd: Permission denied. groupadd: cannot lock /etc/group; try again later.

I need to add groups with specific permissions, how can I achive this ?

callumpjackson commented 1 year ago

Are you trying to create a group as a mount storage device requires a particular group, or is this for MQ authorization rules?

inggaboluna commented 1 year ago

Is for MQ quthorization rules image

callumpjackson commented 1 year ago

For MQ authorization rules a new feature was included in IBM MQ 9.2.1 to avoid the need to create groups within the container image. This is called UserExternal and further details can be found here. This is what we use within our examples to avoid the need to create groups. You can see an example of qm.ini file here.

And how it is references within the Helm properties here.

callumpjackson commented 1 year ago

Feel free to reopen if the above does not address your problem - but I'm hopeful it will.