Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Encrypted password is not working to connect to RTC

 I've encrypted password refereed to the below IBM site

http://pic.dhe.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=%2Fcom.ibm.team.build.doc%2Ftopics%2Ftcreatepasstxt.html

 copied pass.txt to file to different location

when I try to access RTC and it is failing, something wrong with my command, can you please help.

lscm login -r http://test.xxx-xxxxx.com/ccm -u cc-adm-xxx -P "C:\RTC_Password\pass.txt" -n buildlogin

 

error message:

Could not log in to http://test.xxx-xxxxx.com/ccm/ as user cc-adm-xxx: CRJAZ0124

E The user name or password is invalid.

CRJAZ0124E The user name or password is invalid.

An error has occurred. Kindly check the log for more details.

0 votes



2 answers

Permanent link
You can try the following:
Run 'lscm --config C:\RTC_Password login -r <repository Uri> -u <username> -c' which will prompt for the password and cache the password under C:\RTC_Password directory. Basically C:\RTC_Password will be considered as the scm cli configuration directory.
After that you can run all scm cli commands by specifying the --config option. For ex:
lscm --config C:\RTC_Password list workspaces -r <repository Uri>

or you can set the configuration directory as an environment variable: SCM_CONFIG_DIRECTORY=C:\RTC_Password and run the commands as usual: lscm list workspaces -r <repository Uri>

0 votes

Comments

I've tried your solution but still it is asking password, 

we are looking some command take password always from file or encrypt password to log in RTC, so that no one can know my password using my account. There is no really restriction my password while log-in RTC then run all other commands.
Exp:
I've log in using your solution, first I've to provide password and then next time when i try to load workspace run some other lsm commands it has to take automatically my password. i don't think this solution will help us.

I just tried this and it works for me.

Can you show the exact steps with the commands that you used?


Permanent link
 The link to the encrypted password reference is for the Jazz Build Engine.  The SCM command line tool doesn't have a feature to encrypt the password.  

You could create a certificate so that you're not sending a cleartext password.  Details are at:
https://jazz.net/library/article/606

Hope this helps.

1 vote

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 01 '14, 5:43 a.m.

Question was seen: 4,684 times

Last updated: Aug 04 '14, 11:02 p.m.

Confirmation Cancel Confirm