Even when logged in as the Root user, attempts to run CLI commands result in errors such as the following:
CliInitSession FAILED
Failed to initialise CLI session, Err : Failed to logon:
Permissions to run NetVault commands via the command line have been revoked or no default NetVault CLI Account value is currently set.
If this happens, you must first set the CLI user account under which NetVault will allow you to execute CLI commands. The commands for that process from a bash command prompt are:
export NETVAULTCLIACCOUNT=admin
export NETVAULTCLIPASSWORD ={thepassword}
Note: The command above sets the "admin" account as the default NetVault user account under which to run CLI commands, but you are allowed to use other NetVault accounts which you may have created.
Also, when you open the NV GUI's Access Control and right-click on the "admin" account, choosing User Properties, check under the "Privileges" tab to ensure that either the option listed as "System - Permitted to use CLI tools" is granted or the check box for "User is granted all privileges" is enabled.