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

scm: why ask me password for a different id?

Look at this, RTCAdmin is the id I used to remote log in to the server. What's going on here?

Thanks
Jirong


C:\Workspace\Cognos_SSSMP_huji>scm login -r https://cyspqpvspaap001:9443/ccm -u huji -P aaaaaaa -n rtc
Logged in to https://cyspqpvspaap001:9443/ccm

C:\Workspace\Cognos_SSSMP_huji>scm status
Password (RTCAdmin @ https://localhost:9443/ccm/):
Problem running 'status':
Could not log in to https://localhost:9443/ccm/ as user RTCAdmin: CRJAZ0100I You must enter a password.

0 votes



4 answers

Permanent link
If you don't specify a username, I believe it uses the username logged in to your operating system. I think you can have your username and repository details saved but you'll have to consult the documentation.

0 votes


Permanent link
If you don't specify a username, I believe it uses the username logged in to your operating system. I think you can have your username and repository details saved but you'll have to consult the documentation.


OK, now I login to OS with my id "huji", but it keep on asking me the password for each command. I asked this question in the forum before, but I can't find it now.

C:\Workspace\Cognos_SSSMP_huji>lscm status
Password (huji @ https://localhost:9443/ccm/):
Workspace: (1000) "Cognos SSSMP Development Stream Workspace -huji" <1001>

Component: (1002) "Cognos_SSSMP" <1001>lscm status
Password (huji @ https://localhost:9443/ccm/):
Workspace: (1000) "Cognos SSSMP Development Stream Workspace -huji" <1001>

Component: (1002) "Cognos_SSSMP" <-> (1001) "Cognos SSSMP Development Stream"
Baseline: (1003) 1 "Initial Baseline"

0 votes


Permanent link
Help on login

Store credentials to use when logging into a repository.

Usage: lscm login [options]

Options:
--certificate arg - The file containing the user's login certificate.
--smartCard - Use the connected smart card for authentication.
-c [--cache] - Cache the password on prompt
-n [--nickname] arg - Nickname to identify repository in future.
-P [--password] arg - Password for repository.
-r [--repository-uri] arg - URI specifying the location of repository.
-u [--username] arg - Username for repository.

The login command has an option to cache the password. I believe it is stored as a hash in a plain text file.

0 votes


Permanent link

The login command has an option to cache the password. I believe it is stored as a hash in a plain text file.


Thanks, the root cause is this: https://jazz.net/forums/viewtopic.php?t=21026

Now all problem is gone.

Jirong

0 votes

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: Nov 22 '11, 10:42 a.m.

Question was seen: 7,216 times

Last updated: Nov 22 '11, 10:42 a.m.

Confirmation Cancel Confirm