-
Notifications
You must be signed in to change notification settings - Fork 1
prosEO CLI 2_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.
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.
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.
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.