RTC-SCM-CLI: lscm login command accepts wrong password (if the user is already logged in)
1) When lscm.bat is called via command prompt, with the below login command:
3) I still provided wrong password and pressed enter.
The feedback is:
What's going on here ? Is it using any of my previous successful login credentials internally ? if yes, how can I clear that cache ?
Thanks for your help in advance.
it asks for the user password like:lscm login -r <server> -u <user>
When I type the wrong password and press enter, I get the feedback as:Password (<user> @ <server>):
2) Then, I continued executing lscm.bat with the below "create workspace" commandLogged in to <server>
it now asks for the user password again like:lscm create workspace -e -r <server> <workspace_name>
(I think, the password is asked again, because I provided wrong password during step-1)Password (<user> @ <server>):
3) I still provided wrong password and pressed enter.
The feedback is:
To my surprise, when I checked in the web client, this workspace is actually created from the same user of step-1Workspace (1051) "<workspace_name>" successfully created
What's going on here ? Is it using any of my previous successful login credentials internally ? if yes, how can I clear that cache ?
Thanks for your help in advance.
Accepted answer
I would suggest to read the help e.g. https://jazz.net/help-dev/clm/topic/com.ibm.team.scm.doc/topics/login.html which also clearly mentions that the credentials are stored. Just below that command you find the logout command and a description what it does with the credentials. The image below shows the topic and also an example demonstrating how to search the help.
Comments
Karl Weinert
JAZZ DEVELOPER Oct 10 '13, 9:25 a.m.Karthikeyan Baskaran
Oct 11 '13, 2:58 a.m.