How can I prevent the scm status subcommand from always requesting a password?
|
One answer
lscm login -r "https://tjts1.tsysdev.net/ccm/" -n local -u "mbxxxxkxxx" -c
The -c option is the correct option to specify if you want to cache the password. Once the credential is cached the CLI will not prompt for the password if the operation is performed on the same repository for which the username/password was cached.
Which version of RTC are you using? I believe the case issue with username was resolved in 6.0.
Comments
Mike Blake-Knox
commented Jun 02 '15, 9:42 a.m.
Thanks for confirming that the login subcommand's -c option is supposed to cache the password for subsequent uses of lscm commands. I have tried the -c option but it didn't solve the problem. When I used login -c, the scm status subcommand still prompts for the password each time I use it. We're using version 5.0.2. Do you have any further suggestions? Thanks Can you paste the output of 'lscm list cred' command? If you have cached the credentials you should see the line with repo uri, username and the password as <password stored>. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.