Originally posted by: biblio93
It's not so simple with rbac
I know some company that have established rbac (except Oracle database and management HMC)
In fact for the "su" I think the cleaner is to remove all execute permissions on the / usr / bin / su, then use RBAC to allow some users to execute the command file. Basically you have to create an authorization, a role that you give permission, then replace accessauths = ALLOW_ALL by accessauths = ton_autorisation to the /usr/bin/su. Then you give the users of your choice permission to assume the role that you created (attribute "roles"). You can even give them authomatiquement the role in question (attributes "roles" + "default_roles").
Look on the side of mkauth orders mkrole, setsecattr, chuser, setkst.
If you do not trust the root user, it's pretty annoying
#AIX-Forum