RBACRole - setAgentAclFlags

RBACRole - setAgentAclFlags

Description :

This command sets the permissions flags used on the AgentAcl of a role.

flags is a bit mask. Therefore, you need to sum the following values to get the behavior you want.

  • 1 -- silenty ignore setuid and setgid bits
  • 2 -- fail on mknod(2) system call
  • 4 -- read only
  • 8 -- read write
  • 16 -- user must exist
  • 32 -- reserved
  • 64 -- map to user name

Return type : com.bladelogic.om.infra.model.rbac.RBACRole

Command Input :

Variable Name

Variable Type

Description

roleName

String

Name of the role to modify.

flags

Integer

The setting for the permissions flags.

Example

This example script assumes that a role named "SuperAdmin" is present in the system. It also assumes a value of 8 for the desired permissions flags.

Script





RBACRole setAgentAclFlags "SuperAdmin" 8 



Was this page helpful? Yes No Submitting... Thank you

Comments