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

How to set SCM_ALLOW_INSECURE

 What are the steps to configure the SCM Source control command line Interface environment variable 'SCM_ALLOW_INSECURE' on a build engine? What is the impact of of setting it to TRUE?


0 votes



One answer

Permanent link
When RTC SCM CLI starts it tries to secure the config directory by setting the right permissions on that directory. The config directory is by default the <user home directory>/.jazz-scm or it picks it up from the --config option if specified.

The reason to secure the directory is because the user can inform the cli to cache the credentials during login. If for some reason the cli could not secure the directory it will throw an error. Setting SCM_ALLOW_INSECURE will skip this permission check and continue even if the directory is not secure (i.e., accessible to others in the machine).

0 votes

Comments

 But how do we set the property as TRUE? What is the syntax?

It just checks the existence of the environment variable. You can set it to SCM_ALLOW_INSECURE=1 or SCM_ALLOW_INSECURE=true or for that matter any value.


By the way, this flag does not have any impact on JBE. It is only impacted when you run the scm cli commands.

 Again, what is the syntax to set this property? And where do we set it? Do we set it at the configuration directory i.e.‘/direc./<USER HOME DIREC.>/.jazz-scm'


Before you run the commands on the command prompt, in windows 'set SCM_ALLOW_INSECURE=1' or in linux 'export SCM_ALLOW_INSECURE=1'.
You can also set this value by adding the below line to the scm.ini file:
-DSCM_ALLOW_INSECURE=1

 Thank you

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
× 6,120

Question asked: Jun 01 '15, 5:18 a.m.

Question was seen: 3,506 times

Last updated: Jun 03 '15, 7:32 a.m.

Confirmation Cancel Confirm