Skip to content

prosEO CLI 2_Login

Thomas Bassler edited this page Jan 25, 2024 · 2 revisions

Command Line Interface (CLI) Guide - Login

The only commands available without login are exit, help, clear, login, and mission show. A logged in user has access to additional commands.

A login can be done either with the start of the CLI or with the login command.

Login At CLI Start

Using the option of starting the CLI as a specific user, logging into a test mission (PTM) with a credential file (PTMuser.cred) works as follows:

java -jar /path/to/proseo-ui-cli.jar -mPTM -iPTMuser.cred

If a user has administrator priviledges, the mission code may be omitted.

Credential files need to contain the username in the first line and the password in the second. PTMuser.cred would look like this:

PTMuser
somepassword

A credential file will only be read if it is only readable by the current system user, as far as warranted by the operating system.

Login By Command

Username and password

Using the login command, logging into a test mission (PTM) with username (PTMuser) and password works as follows:

prosEO (no mission)> login PTM
Username (empty field cancels): PTMuser
Password for user PTMuser:
(I282) User PTMuser logged in
prosEO (PTM)>

As shown in this use case, the password is not visible.

If a user has administrator priviledges, the mission code may be omitted.

Credential file

Using the login command, logging into a test mission (PTM) with a credential file (PTMuser.cred) works as follows:

prosEO (no mission)> login -iPTMuser.cred PTM
(I282) User PTMuser logged in
prosEO (PTM)>

If a user has ROOT privileges, the mission code may be omitted.

Clone this wiki locally