Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system
We want to implement sudo policy to restrict some commands to osadmin user.
How to add in sudo policy,If I want to restrict any command which starts from below aix commands
chdevchinetumounthostnamermlvmigratepvcplvrmfsmmshutdownmmunmountmmchfsmmchconfigmmchclustermmdelnodeshutdown
We got below soulution.but we dont want to implement RBAC , we have to do it via sudo policy.
Perhaps a better way would be to use the native AIX mechanism, RBAC: RBAC roles - IBM DocumentationYou can assign predefined roles to users (Predefined roles - IBM Documentation) or create your own roles (mkrole) and allow users to execute only specified tasks.