Hello Allwyn Menezes,
I would like to help you, but I read you don't like to implement rbac for this?
most of those commands however are already in a default rbac standard roles such as: sa, so, FSAdmin
and building your custum role for this is rather easy, because you can re-use the standard AIX authorisations.
just take a look in the rbac (text based) database /etc/security/privcmds and for example look for the shutdown command: /usr/sbin/shutdown
than you find the authorisation: aix.system.boot.shutdown with that autorisation you can make a new role with this authorisation, and so on.
Just let me know if you need help with this, in case you reconcider using AIX advanced RBAC.
Greetings Christian Sonnemans.
------------------------------
Christian Sonnemans
Tactical Unix system engineer
AsnBank
Den Bosch
------------------------------
Original Message:
Sent: Thu August 14, 2025 02:48 AM
From: Allwyn Menezes
Subject: Sudo policy in AIX to restrict commands - no RBAC
------------------------------
Allwyn Menezes
------------------------------
#AIXOpenSource