LOGIN
Switches the user account without ending the CQL shell session. To log in as a different user, specify the credentials for that user.
Synopsis
LOGIN <user_name> [ '<password>' ]
Syntax legend
Syntax conventions | Description |
---|---|
UPPERCASE |
Literal keyword. |
Lowercase |
Not literal. |
|
Variable value. Replace with a user-defined value. |
|
Optional.
Square brackets ( |
|
Group.
Parentheses ( |
|
Or.
A vertical bar ( |
|
Repeatable.
An ellipsis ( |
|
Single quotation ( |
|
Map collection.
Braces ( |
Set, list, map, or tuple.
Angle brackets ( |
|
|
End CQL statement.
A semicolon ( |
|
Separate the command line options from the command arguments with two hyphens ( |
|
Search CQL only: Single quotation marks ( |
|
Search CQL only: Identify the entity and literal value to overwrite the XML element in the schema and solrConfig files. |
- <user_name>
-
Name of the user to log in as.
- <password>
-
Password for the user. When supplying a password on the command line, enclose the password in single quotes; a password entered on the command line appears in plain text. To securely enter a password, omit the password from the command line; enter the password when prompted.
Examples
Log in as the cycling administrator:
LOGIN cycling_admin
When no password is specified on the command line, a password prompt appears:
password: *******