Forum Discussion
Privilege for operator on LTM
Hi, is it possible to create a role for operators so that they can do particular task only, e.g. add/remove iRules to/from a virtual server ? Seems no existing role is available for this purpose. We're using TMOS 12.1.3.
Thanks a lot. Regards /ST Wong
- WithF5
Nimbostratus
Unfortunately no... but what you can do is a bash script where it accesses the F5, list the VSs and iRules and give the option to the user to add, remove and so on... It could be a little bit tricky but it is a sollution.
- jaikumar_f5
Noctilucent
As you know the operator roles change functionality limits with nodes and pool member objects alone. Inorder to touch the Irule and assigning it with a VS, one may require manager role or anything higher.
- ST_Wong
Cirrus
Thanks for your help. Will the bash script that runs on F5 has the user's effective user id ? Seems sudo is not available on LTM. Did I miss anything?
Thanks again. Best Rgds
- jaikumar_f5
Noctilucent
I doubt that's possible... Operator role cannot have bash assigned. Bash is just for administrators. Operator can have tmsh alone.
- ST_Wong
Cirrus
Thanks for all your help.
How about creating a dummy (null) iRules and assigned the virtual server in advance. Then ask operator with iRule Manager role to update the iRule when necessary?
Thanks again. Best Rgds
- jaikumar_f5
Noctilucent
I'm confused by your statement, an user can be assigned just one role as far as I understand. How can you assign an operator user whose having operator role to also have Irule Manager role ?
Maybe tacacs role groups can give 2 roles ??? I haven't tested it.
BTW why not give other roles (manager) role.
- ST_Wong
Cirrus
Sorry for causing the confusion. Right, we'll have to create another account with iRules Manager for our operators, who also owns account with operator role.
- jaikumar_f5
Noctilucent
Yes that would work, but as you know, Irule manager can just create/modify/delete Irules, he cannot map it to VS. So that would mean you would be required to have some dummy Irules created already on the VS. But this is really going to be a concerning one if it goes in the production setups, because this maybe messing up a bigger Irule logic.
If your intention is to restrict users to one particular application alone, you can go with 3rd party vendor who manage F5 devices.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com