4 Replies Latest reply on Aug 27, 2014 9:58 AM by Moses Arockiadass

    NSH command to get the ACL policies assigned to a Server

      Experts,

       

      Do we have a command to get the list of ACL policies assigned to a server?

       

      Regards

        • 1. Re: NSH command to get the ACL policies assigned to a Server
          Bill Robinson

          not a nsh command since nsh doesn't interact w/ the appserver...

           

          i think the blcli Server showPermissions will do it.

          • 2. Re: NSH command to get the ACL policies assigned to a Server

            Bill - Yes, show permissions works but it's showing all the ACL permissions list as well

             

             

             

            Info27-Aug-2014 12:23:39SERVERNAME
            Info27-Aug-2014 12:23:41BLAdminsServer.*
            Info27-Aug-2014 12:23:41BLAdminsServer.ModifyACL
            Info27-Aug-2014 12:23:41BLAdminsServer.Discover
            Info27-Aug-2014 12:23:41BLAdminsServer.Audit
            Info27-Aug-2014 12:23:41BLAdminsServer.Browse
            Info27-Aug-2014 12:23:41BLAdminsServer.Decommission
            Info27-Aug-2014 12:23:41BLAdminsServer.Deploy
            Info27-Aug-2014 12:23:41BLAdminsServer.Read
            Info27-Aug-2014 12:23:41BLAdminsServer.Snapshot
            Info27-Aug-2014 12:23:41BLAdminsServer.Modify
            Info27-Aug-2014 12:23:41BLAdminsServer.ModifyProperties
            Info27-Aug-2014 12:23:41BLAdminsServer.StartService
            Info27-Aug-2014 12:23:41BLAdminsServer.StopService
            Info27-Aug-2014 12:23:41BLAdminsServer.FileDelete
            Info27-Aug-2014 12:23:41BLAdminsServer.FileModify
            Info27-Aug-2014 12:23:41BLAdminsServer.ExecuteNSHScript
            Info27-Aug-2014 12:23:41BLAdminsServer.PushACL
            Info27-Aug-2014 12:23:41BLAdminsServer.FileCreate
            Info27-Aug-2014 12:23:41BLAdminsServer.AgentInstall
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Citrix_VM_Start
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Citrix_VM_GuestShutdown
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Citrix_VM_Stop
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Citrix_VM_GuestReboot
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Citrix_VM_Reboot
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Citrix_VM_SnapshotVM
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Citrix_VM_ConvertToTemplate
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Citrix_VM_Suspend
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Citrix_VM_Resume
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Citrix_VM_Rename
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Citrix_VM_Delete
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Citrix_CustomTemplate_DeleteTemplate
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_IBM_VirtualSystemEnabler_PassThroughAction
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_IBM_VirtualSystem_Delete
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_IBM_VirtualSystem_Stop
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_IBM_VirtualSystem_Restart
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_IBM_VirtualSystem_Start
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_IBM_VirtualSystem_DelayedShutdown
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_IBM_VirtualSystem_DumpRestart
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_IBM_VIOServer_Delete
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_IBM_VIOServer_Stop
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_IBM_VIOServer_Restart
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_IBM_VIOServer_Start
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_IBM_VIOServer_DelayedShutdown
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_IBM_VIOServer_DumpRestart
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_VirtualMachine_Start
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_VirtualMachine_Stop
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_VirtualMachine_GuestShutdown
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_VirtualMachine_GuestReboot
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_VirtualMachine_Suspend
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_VirtualMachine_Reset
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_VirtualMachine_SnapshotVM
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_VirtualMachine_Delete
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_UnregisteredVirtualMachine_RegisterVMs
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_GenericPassThroughAction_PassthroughCommandGenerate
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_GenericPassThroughAction_PassthroughCommandExecute
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_VirtualMachineInternal_Start
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_VirtualMachineInternal_Stop
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_VirtualMachineInternal_GuestShutdown
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_VirtualMachineInternal_GuestReboot
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_VirtualMachineInternal_Suspend
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_VirtualMachineInternal_Reset
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_VirtualMachineInternal_SnapshotVM
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_VirtualMachineInternal_Delete
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_GenericAdhocActionProcessor_GenericAdhocAction
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_VMware_OVFActionProcessor_OVFActions
            Info27-Aug-2014 12:23:41BLAdminsServer.CaliforniaManager_UCS_add_ucs
            Info27-Aug-2014 12:23:41BLAdminsServer.CaliforniaManager_UCS_SSL_Config
            Info27-Aug-2014 12:23:41BLAdminsServer.CaliforniaManager_UCS_SSL_Config
            Info27-Aug-2014 12:23:41BLAdminsServer.CAM_UCS_remove_ucs
            Info27-Aug-2014 12:23:41BLAdminsServer.Blade_UCS_show_kvm_console
            Info27-Aug-2014 12:23:41BLAdminsServer.Blade_UCS_show_fsm_state
            Info27-Aug-2014 12:23:41BLAdminsServer.Blade_UCS_start_blade
            Info27-Aug-2014 12:23:41BLAdminsServer.Blade_UCS_stop_blade
            Info27-Aug-2014 12:23:41BLAdminsServer.Blade_UCS_add_association_blade
            Info27-Aug-2014 12:23:41BLAdminsServer.Blade_UCS_remove_association_blade
            Info27-Aug-2014 12:23:41BLAdminsServer.Org_UCS_add_org
            Info27-Aug-2014 12:23:41BLAdminsServer.Org_UCS_remove_org
            Info27-Aug-2014 12:23:41BLAdminsServer.Profile_UCS_start_profile
            Info27-Aug-2014 12:23:41BLAdminsServer.Profile_UCS_stop_profile
            Info27-Aug-2014 12:23:41BLAdminsServer.Profile_UCS_delete_profile
            Info27-Aug-2014 12:23:41BLAdminsServer.Profile_UCS_add_association
            Info27-Aug-2014 12:23:41BLAdminsServer.Profile_UCS_delete_association
            Info27-Aug-2014 12:23:41BLAdminsServer.Profile_UCS_change_association
            Info27-Aug-2014 12:23:41BLAdminsServer.Profile_UCS_create_template_from_profile
            Info27-Aug-2014 12:23:41BLAdminsServer.Profile_UCS_go_to_server
            Info27-Aug-2014 12:23:41BLAdminsServer.DummyAsset_UCS_Create_Profile
            Info27-Aug-2014 12:23:41BLAdminsServer.DummyAsset_UCS_Get_Profile_Definition
            Info27-Aug-2014 12:23:41BLAdminsServer.PackageTrackingRoot_removeAll
            Info27-Aug-2014 12:23:41BLAdminsServer.PackageTrackingRoot_removeOlder
            Info27-Aug-2014 12:23:41BLAdminsServer.PackageTrackingData_remove
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_RHEL_VirtualSystem_run
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_RHEL_VirtualSystem_pause
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_RHEL_VirtualSystem_resume
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_RHEL_VirtualSystem_shutdown
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_RHEL_VirtualSystem_forceOff
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_RHEL_VirtualSystem_delete
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_SCVMM_VirtualMachine_Start
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_SCVMM_VirtualMachine_GuestShutdown
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_SCVMM_VirtualMachine_Stop
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_SCVMM_VirtualMachine_Suspend
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_SCVMM_VirtualMachine_SnapshotVM
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_SCVMM_VirtualMachine_Rename
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_SCVMM_VirtualMachine_Delete
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Solaris_VirtualSystem_install
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Solaris_VirtualSystem_halt
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Solaris_VirtualSystem_reboot
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Solaris_VirtualSystem_boot
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Solaris_VirtualSystem_uninstall
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Solaris_VirtualSystem_ready
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Solaris_VirtualSystem_incomplete
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_Solaris_VirtualSystem_delete
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_UnixDaemon_stop
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_UnixDaemon_start
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_UnixDaemon_restart
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_UnixDaemon_reload
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_UnixDaemon_start_with_dependencies
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_UnixProcess_kill
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_UnixUser_updatePassword
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_UnixUser_setPasswordState
            Info27-Aug-2014 12:23:41BLAdminsServer.Weblogic_BLRoot_takeSnapshot
            Info27-Aug-2014 12:23:41BLAdminsServer.Weblogic_BLRoot_testConnection
            Info27-Aug-2014 12:23:41BLAdminsServer.Weblogic_PostInstallCommand_execute
            Info27-Aug-2014 12:23:41BLAdminsServer.Weblogic_PreInstallCommand_execute
            Info27-Aug-2014 12:23:41BLAdminsServer.Weblogic_Deployment_transfer
            Info27-Aug-2014 12:23:41BLAdminsServer.Weblogic81_BLRoot_takeSnapshot
            Info27-Aug-2014 12:23:41BLAdminsServer.Weblogic81_BLRoot_testConnection
            Info27-Aug-2014 12:23:41BLAdminsServer.Weblogic81_PostInstallCommand_execute
            Info27-Aug-2014 12:23:41BLAdminsServer.Weblogic81_PreInstallCommand_execute
            Info27-Aug-2014 12:23:41BLAdminsServer.Weblogic81_Deployment_transfer
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_IBM_VirtualSystem_GuestShutdown
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_IBM_VirtualSystem_GuestRestart
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_IBM_VIOServer_GuestShutdown
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_IBM_VIOServer_GuestRestart
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_RHEV_VirtualMachine_Start
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_RHEV_VirtualMachine_GuestShutdown
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_RHEV_VirtualMachine_Stop
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_RHEV_VirtualMachine_Suspend
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_RHEV_VirtualMachine_SnapshotVM
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_RHEV_VirtualMachine_Rename
            Info27-Aug-2014 12:23:41BLAdminsServer.BMC_RHEV_VirtualMachine_Delete
            Info27-Aug-2014 12:23:41Policy Name: ALL_ENV_READ
            Info27-Aug-2014 12:23:41ALL_ENV_READACLPushJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READACLTemplate.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READACLPolicy.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READAuditJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READAuthProfile.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READBatchJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READBLPackage.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READComponent.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READComponentGroup.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READComponentTemplate.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READComponentTemplateFolder.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READComponentTemplateGroup.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READConfigFile.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READCustomCommand.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READDeployJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READDepotFile.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READDepotFolder.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READDepotGroup.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READDevice.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READDiscoveryJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READExtendedObject.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READJobFolder.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READJobGroup.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READNSHScript.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READNSHScriptJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READProvisionConfig.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READProvisionJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READUCSTemplate.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READMacPool.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READUuidPool.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READUCSProvisionJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READStoragePool.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READBootableStoragePool.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READRole.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READServer.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READServerGroup.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READSCAPComplianceJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READSnapshotJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READCustomSoftware.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READSystemPackageFolder.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READUpdatePropertiesJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READUser.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READPropertyInstance.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READSystemPackage.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READSystemPackageType.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READVMCaptureJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READVMImportJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READPatchGlobalConfig.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READAIXPatchSoftware.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READAIXSoftware.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READHPUXSoftware.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READLinuxSoftware.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READSolarisSoftware.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READWindowsSoftware.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READBL_Administration.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READApplicationServer.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READRoutingPolicy.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READRepeater.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READRemoteHostAuthentication.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READFileServer.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READAtrium2BlSyncJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READWorkflowJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READApplicationDiscoveryJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READAgentBundle.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READVSMDiscoveryJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READExecutionTask.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READDeviceFolder.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READDeviceGroup.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READPatchingJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READPatchCatalog.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READPatchDownloadJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READPatchRemediationJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READAutomationPrincipal.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READPatchSmartGroup.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READVirtualGuestPackage.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READVirtualGuestJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READLdapConnection.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READLdapQuery.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READVirtualGuestTemplateEnrollmentJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READVirtualizationConfiguration.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READVirtualGuestPackageLpar.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READVirtualGuestPackageSolaris.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READVirtualGuestPackageCitrixXen.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READVirtualGuestPackageRHELKVM.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READVirtualGuestPackageRHEV.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READVirtualGuestPackageHyperV.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READXCCDFBenchmark.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READSCAPContentFile.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READTokenizationRuleSet.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READAgentInstallerJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READPublishProductCatalogJob.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READConfigurationObjectClass.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READDistributeConfigurationObjects.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READDeregisterConfigurationObjects.Read
            Info27-Aug-2014 12:23:41ALL_ENV_READUpgradeModelObjects.Read
            Info27-Aug-2014 12:23:41End of Policy: ALL_ENV_READ
            • 3. Re: NSH command to get the ACL policies assigned to a Server
              Bill Robinson

              right..so

               

              bcli_execute Server showPermissions xxx

              blcli_storeenv perms

              perms="$(echo "${perms}" | grep "Policy Name: " | cut -f2 -d:)"

              ...