Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

ServerConfigDef - addPermission


ServerConfigDef - addPermission

Description :

This command adds a permission to a Server Configuration definition. This command returns a handle (DBKey) to the Server Configuration Definion.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

configFileName

String

Name of the server configuration definition.

osNshName

String

NSH name of its associated operating system.

roleName

String

Name of the role.

authName

String

Name of the authorization.

Example

The following example adds the ConfigFile.Read permission to a configuration object.

The following are the available OS NSH Names (OS: NSH Name):

  • Solaris: Sun0S
  • Linux: Linux
  • Windows: WindowsNT
  • HP-UX: HP-UX
  • AIX: AIX

Script





blcli ServerConfigDef addPermission "/etc/at.allow" "SunOS" "TestRole" "ConfigFile.Read"



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.5