﻿1 login

   Enables you to set the credentials used for the current session.

  Syntax

   Authenticating with credentials for the first time:

   hpsum login [--username <username> --password <password>] [--port <port>]
   [--ssl_port <sslport>] [--ftp_port <ftpport>] [--open_firewall]

   Authenticating with current credentials:

   hpsum login

  Parameters

   --username

           Optional parameter for adding username.

   --password

           Optional parameter for adding user password.

   --port

           Optional parameter to define a port that HP SUM uses.

           The allowed values are:

           80, 1024-65535

   --ssl_port

           Optional parameter to define an SSL port that HP SUM uses.

           The allowed values are:

           443, 1024-65535

   --ftp_port

           Optional parameter to define the FTP port that HP SUM uses.

           The allowed values are:

           disabled, 21, 1024-65535

   --open_firewall

           Optional parameter that allows HP SUM to open the HTTP and HTTPS
           ports used by HP SUM for external access. Also used to open the
           ports for remote node functionality and for remote browser access.

  Windows usage

   C:\> hpsum login /username rono /password pwd123 /ssl_port 9091

  Linux usage

   $ ./hpsum login --username rono --password pwd123 --ssl_port 9091

  Return codes

   SUCCESS_NO_REBOOT

           Windows: 0

           Linux: 0

           Text: The command was successful.

   FAILURE_GENERAL

           Windows: -1

           Linux: 255

           Text: A general failure occurred. For details, see the logs.

   FAILURE_BAD_PARM

           Windows: -2

           Linux: 254

           Text: A bad input parameter was encountered. For details, see the
           logs.

   FAILURE_COMMAND_FAILED

           Windows: -4

           Linux: 252

           Text: The command failed. For details, see the logs.
