Creating a user who can run GuardAPI commands
Create a user who has the proper roles and entitlements to run GuardAPI commands from the command-line interface (CLI).
About this task
You can use the Guardium CLI to run both CLI commands and GuardAPI functions. This task describes how to create a user with access to the GuardAPI functions.
Note: Only the cli and guardcli1 to guardcli9 users can log in to the CLI and view or run
CLI commands.
Procedure
What to do next
- From the CLI, log in as one of the guardclin users (that is, guardcli1 to guardcli9
). For
example:
ssh guardcli2@company.com
- Run the set guiuser CLI command to associate the new user with the guardcli
user. The first time the user logs in, they are prompted to change their password. For example, if
you created a user with CLI privileges for Hadrain
Swall:
company.com> set guiuser Hadrian.Swall Enter current password: First login as Hadrian.Swall. Please change the default password. Enter new password: Re-enter new password: ok
For more information about set guiuser, see User Account, Password, and Authentication CLI Commands.
- The user, Hadrian Swall, can now access to any GuardAPI commands that are available for the associated roles.