login

This command logs the user into the Orchestrator grid.

Syntax

zos login [servername] [--check] [--user=] [--passwd=] [--port=] [env=]

Arguments

servername

The user must enter the hostname of the Orchestrator Server he or she is logging into. The default is localhost.

Options

-c, --check

Check and report existing login. Ignores other options.

-u=, --user=

Username known by the Orchestrator server. The user must enter a value with this option. The default is login.

-p=, --passwd=

User password for authentication. The user must enter a value with this option.

-P=, --port=

The port number used for communication between the user portal and the server for Orchestrator. The user must enter a value with this option.

-C=, --cols=

The specification for the terminal width for formatting. The user must enter a value with this option.

-h, --help

Displays a help message for this operation.

-d, --debug

Turns on debug output during the login operation.

-v, --verbose

Turns on verbose output during the login operation.

-z=, --tls=

Force TLS/SSL encryption [on|off]. The user must enter a value with this option.

-Z=, --tlsPort=

Port number for TLS/SSL connections. The user must enter a value with this option.

-y, --tlsYesNew

Force acceptance of new TLS server certificates.

-Y, --tlsYesAll

Force acceptance of all TLS server certificates.

Examples

Example 1

To log in to the server Eng as tester20 you would use the following command:

zos login Eng --user=tester20

Example 2

To check the current login, you would use the following command:

zos login --check