| addsystemcmdpolicy |
Use this method to adds a method policy to the system. A method policy specifies the access rights of the system user. By default, the appliance already has the following policies defined: * operator * read-only * network * superuser |
Syntax |
Parameters |
policyname |
Name for a method policy. Must begin with a letter, number, or the underscore (_) character, and must contain only alphanumeric, hyphen (-), period (.), hash (#), space ( ), at (@), equal (=), colon (:), and underscore characters. Cannot be changed after the policy is created.
CLI Users: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "my policy" or 'my policy'). This is mandatory parameter. |
actioN |
Action to perform when a request matches the policy. This is mandatory parameter. |
cmdspec |
Regular expression specifying the data that matches the policy. This is mandatory parameter. |
Return Value |
Returns simpleResult |
See Also |