The solution, using existing RBAC was as follows:
Create a user 'halcyon' to operate the Halcyon agent (We had already done this a long time ago on the customer system)
mkuser admin='false' pgrp='staff' groups='staff' su='false' shell='/usr/bin/ksh' gecos='Halcyon User' halcyon
We then made a role called "Halcyon", using the existing RBAC authorisations to the VIOS commands we need access to:
mkrole authorizations='vios.device.manage.list,vios.device.manage.map.phyvirt' dfltmsg='Halcyon role for VIOS' Halcyon
Ensure that the halcyon user has the role "Halcyon" assigned to it:
chuser roles='Halcyon' halcyon
Make sure the "Halcyon role is the default role for the user:
chuser default_roles=Halcyon halcyon
We then update the Kernel to pick up the changes:
setkst
We then switched to the Halcyon user and checked we could access the commands:
su - halcyon
/usr/ios/cli/ioscli lsmap -all
The bit I missed was the setting of the default role, so the halcyon account could operate automatically.
Thanks for everyones ideas and pointers.
------------------------------
Michael Davison
EMEA Support Team Lead
Fortra
Peterborough
------------------------------