It's all about the answers!

Ask a question

scm: why ask me password for a different id?


Jirong Hu (1.5k9295258) | asked Nov 22 '11, 10:42 a.m.
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.

4 answers



permanent link
Tim Mok (6.6k38) | answered Nov 22 '11, 10:51 a.m.
JAZZ DEVELOPER
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.

permanent link
Jirong Hu (1.5k9295258) | answered Nov 22 '11, 11:23 a.m.
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"

permanent link
Tim Mok (6.6k38) | answered Nov 23 '11, 10:53 a.m.
JAZZ DEVELOPER
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.

permanent link
Jirong Hu (1.5k9295258) | answered Nov 23 '11, 11:35 a.m.

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

Your answer


Register or 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.