Follow

How To: Change Default Passwords

There are multiple default accounts that are used for the system. This document will outline each of those accounts, the location it is configured, what it is used for, and the impact of changing its credentials.

Ambari
By default, the "admin" account is used for Ambari management.

To change the password for the admin account:
1) Log in to Ambari as Admin (or another admin user if one is configured)
2) Go to "Manage Ambari"
3) Go to "Users"
4) Click on the "Admin" user
5) Click on "Change Password"

There is no impact to any other parts of the product by modifying this user account.


Investigator/Workflow
Multiple accounts are configured by default, and are configured throughout the course of the installation of the Interset software. These accounts are:

root
admin
user
Workflow_0
Analytics_0

To change the password for the "root" user:
1) Go to Swagger-UI
2) Click on "GET /logins/{userId}"
3) Click on "off", and click on "Authorize" in the pop-up
4) Log in as "root"
5) Click on "logins"
6) In the "userId" entry box, enter "root"
7) Click "Try it out!"
8) Copy the contents of the "Response Body", e.g.
{
"userId": "root",
"name": "root user",
"role": "root",
"isActive": true,
"password": "******",
"created": 1478813613336
}
9) Click on "PUT /logins/{userId}"
10) In the "userId" entry box, enter "root"
11) In the "body" entry box, below the "userId" entry box, paste the contents copied in step 8.
12) Modify the pasted text to include the new password desired for the "root" user, e.g.
{
"userId": "root",
"name": "root user",
"role": "root",
"isActive": true,
"password": "<NEWLY CHOSEN root PASSWORD>",
"created": 1478813613336
}
13) Click "Try it out!"

There is no impact to any other parts of the product by modifying this user account.

 

To change the password for the "admin" and/or "user" user:
1) Go to Swagger-UI
2) Click on "tenants"
3) Click on "GET /tenants/{tenantId}/users/{userId}"
4) Click on "off", and click on "Authorize" in the pop-up
5) Log in as "root"
6) In the "tenantId" entry box, enter "0".
7) In the "userId" entry box, enter "admin" or "user"
8) Click "Try it out!"
9) Copy the contents of the "Response Body", e.g.
{
"userId": "admin",
"name": "Default Admin",
"role": "admin",
"isActive": true,
"password": "******",
"created": 1478813613365
}
10) Click on "PUT /tenants/{tenantId}/users/{userId}"
11) In the "tenantId" entry box, enter "0".
12) In the "userId" entry box, enter "admin" or "user"
13) In the "body" entry box, below the "userId" entry box, paste the contents copied in step 8.
14) Modify the pasted text to include the new password desired for the "root" user, e.g.
{
"userId": "admin",
"name": "Default Admin",
"role": "admin",
"isActive": true,
"password": "<NEWLY CHOSEN admin or PASSWORD>",
"created": 1478813613365
}
15) Click "Try it out!"

There is no impact to any other parts of the product by modifying these user accounts.

 

To change the password for the "Workflow_0" user:
1) Go to Swagger-UI
2) Click on "tenants"
3) Click on "GET /tenants/{tenantId}/users/{userId}"
4) Click on "off", and click on "Authorize" in the pop-up
5) Log in as "root"
6) In the "tenantId" entry box, enter "0".
7) In the "userId" entry box, enter "Workflow_0"
8) Click "Try it out!"
9) Copy the contents of the "Response Body", e.g.
{
"userId": "Workflow_0",
"name": "Workflow_0",
"role": "admin",
"isActive": true,
"password": "******",
"created": 1478814089109
}
10) Click on "PUT /tenants/{tenantId}/users/{userId}"
11) In the "tenantId" entry box, enter "0".
12) In the "userId" entry box, enter "Workflow_0"
13) In the "body" entry box, below the "userId" entry box, paste the contents copied in step 8.
14) Modify the pasted text to include the new password desired for the "root" user, e.g.
{
"userId": "Workflow_0",
"name": "Workflow_0",
"role": "admin",
"isActive": true,
"password": "<NEWLY CHOSEN Workflow_0 PASSWORD>",
"created": 1478814089109
}
15) Click "Try it out!"

By modifying the Workflow_0 account, a new authorization token will need to be generated and used in the /opt/interset/rules/conf/rules.conf on the Master server where Analytics is installed.

To get the new authorization token:

1) Go to Swagger-UI
2) Click on "actions"
3) Click on "POST /actions/login"
4) Click on "off", and click on "Authorize" in the pop-up
5) Log in as "root"
6) In the "body" entry box, paste the following (utilizing your new password):
{
"username": "Workflow_0",
"password": "<NEWLY CHOSEN Workflow_0 PASSWORD>"
}
7) Click "Try it out!"
8) In the "Response Body", copy the value associated with "access_token", e.g.
{
"access_token": "0lW9DgthtVsKPpPPxEIn07TD-_Bb",
"token_type": "Bearer"
}
9) Edit /opt/interset/rules/conf/rules.conf on the Master node where Analytics is installed, and update the value of the "RulesApiServerAuthorizationToken" parameter.
10) Run the following command to kill any existing Workflow deployments: "storm kill Workflow_0 -w 1"
11) Redeploy Workflow using the following command:
"storm jar /opt/interset/rules/libs/rules-5.0.jar com.interset.rules.RulesTopology /opt/interset/rules/conf/rules.conf"

 

To change the password for the "Analytics_0" user:
1) Go to Swagger-UI
2) Click on "tenants"
3) Click on "GET /tenants/{tenantId}/users/{userId}"
4) Click on "off", and click on "Authorize" in the pop-up
5) Log in as "root"
6) In the "tenantId" entry box, enter "0".
7) In the "userId" entry box, enter "Analytics_0"
8) Click "Try it out!"
9) Copy the contents of the "Response Body", e.g.
{
"userId": "Analytics_0",
"name": "Analytics_0",
"role": "admin",
"isActive": true,
"password": "******",
"created": 1478814089109
}
10) Click on "PUT /tenants/{tenantId}/users/{userId}"
11) In the "tenantId" entry box, enter "0".
12) In the "userId" entry box, enter "Analytics_0"
13) In the "body" entry box, below the "userId" entry box, paste the contents copied in step 8.
14) Modify the pasted text to include the new password desired for the "root" user, e.g.
{
"userId": "Workflow_0",
"name": "Workflow_0",
"role": "admin",
"isActive": true,
"password": "<NEWLY CHOSEN Analytics_0 PASSWORD>",
"created": 1478814089109
}
15) Click "Try it out!"

By modifying the Analytics_0 account, a new authorization token will need to be generated and used in the /opt/interset/analytics/conf/interset.conf on the Master server where Analytics is installed.

To get the new authorization token:

1) Go to Swagger-UI
2) Click on "actions"
3) Click on "POST /actions/login"
4) Click on "off", and click on "Authorize" in the pop-up
5) Log in as "root"
6) In the "body" entry box, paste the following (utilizing your new password):
{
"username": "Analytics_0",
"password": "<NEWLY CHOSEN Workflow_0 PASSWORD>"
}
7) Click "Try it out!"
8) In the "Response Body", copy the value associated with "access_token", e.g.
{
"access_token": "0lW9DgthtVsKPpPPxEIn07TD-_Bb",
"token_type": "Bearer"
}
9) Edit /opt/interset/analytics/conf/interset.conf on the Master node where Analytics is installed, and update the value of the "apiServerAuthorizationToken" parameter.


Endpoint

Multiple accounts are configured by default. These accounts are:

admin
analytics@filetrek.com

To change the password for the "admin" user:
1) Edit /opt/interset/flow/conf/flowd_admin.passwd on the Endpoint node
2) Change the password value, e.g. admin:NewP4$$w0rd!
3) Save the file
4) Restart Endpoint with the following command: "monit -g endpoint restart"

This account is used to manage both Endpoint's Webadmin, and Investigator's links to Webadmin, and as such will require an update to your tenant through Swagger-UI:

1) Go to Swagger-UI
2) Click on "tenants"
3) Click on "GET /tenants/{tenantId}"
4) Click on "off", and click on "Authorize" in the pop-up
5) Log in as "root"
6) In the "tenantId" entry box, enter "0".
8) Click "Try it out!"
9) Copy the contents of the "Response Body", e.g.
{
"tenantId": "0",
"name": "Default On-Premise Tenant",
"address": null,
"step": "paid",
"s3Bucket": null,
"s3Region": null,
"s3AccessKeyId": null,
"s3Folder": null,
"created": 1478813613357,
"formalName": null,
"dataSource": null,
"dataType": null,
"flowUrl": null,
"flowAdminUser": "admin",
"flowAdminPassword": "old_password",
"flowApiUser": "analytics@filetrek.com",
"flowApiPassword": "analyticspassword"
}
10) Click on "PUT /tenants/{tenantId}"
11) In the "tenantId" entry box, enter "0".
13) In the "body" entry box, below the "userId" entry box, paste the contents copied in step 8.
14) Modify the pasted text to include the new password desired for the "root" user, e.g.
{
"tenantId": "0",
"name": "Default On-Premise Tenant",
"address": null,
"step": "paid",
"s3Bucket": null,
"s3Region": null,
"s3AccessKeyId": null,
"s3Folder": null,
"created": 1478813613357,
"formalName": null,
"dataSource": null,
"dataType": null,
"flowUrl": null,
"flowAdminUser": "admin",
"flowAdminPassword": "<NEWLY CONFIGURED admin PASSWORD>",
"flowApiUser": "analytics@filetrek.com",
"flowApiPassword": "analyticspassword"
}
15) Click "Try it out!"

 

To change the password for the "analytics@filetrek.com" user:
1) Log in to Endpoint's webadmin
2) Click on "Organization"
3) Under "Top Level Organizations" click on "Query"
4) Next to "analytics@filetrek.com" click on "Modify"
5) You will be presented with an error page stating "No Such Resource"
6) Modify the URL to change "webadmin" to "admin-old" and reload the page.
7) Enter the newly desired password into the "Password" and "Re-Enter Password" entry boxes.
8) Click on "Modify User"

This account is used to manage both Endpoint's Webadmin, and Investigator's links to Webadmin, and as such will require an update to your tenant through Swagger-UI:

1) Go to Swagger-UI
2) Click on "tenants"
3) Click on "GET /tenants/{tenantId}"
4) Click on "off", and click on "Authorize" in the pop-up
5) Log in as "root"
6) In the "tenantId" entry box, enter "0".
8) Click "Try it out!"
9) Copy the contents of the "Response Body", e.g.
{
"tenantId": "0",
"name": "Default On-Premise Tenant",
"address": null,
"step": "paid",
"s3Bucket": null,
"s3Region": null,
"s3AccessKeyId": null,
"s3Folder": null,
"created": 1478813613357,
"formalName": null,
"dataSource": null,
"dataType": null,
"flowUrl": null,
"flowAdminUser": "admin",
"flowAdminPassword": "adminpassword",
"flowApiUser": "analytics@filetrek.com",
"flowApiPassword": "old_password"
}
10) Click on "PUT /tenants/{tenantId}"
11) In the "tenantId" entry box, enter "0".
13) In the "body" entry box, below the "userId" entry box, paste the contents copied in step 8.
14) Modify the pasted text to include the new password desired for the "root" user, e.g.
{
"tenantId": "0",
"name": "Default On-Premise Tenant",
"address": null,
"step": "paid",
"s3Bucket": null,
"s3Region": null,
"s3AccessKeyId": null,
"s3Folder": null,
"created": 1478813613357,
"formalName": null,
"dataSource": null,
"dataType": null,
"flowUrl": null,
"flowAdminUser": "admin",
"flowAdminPassword": "adminpassword",
"flowApiUser": "analytics@filetrek.com",
"flowApiPassword": "<NEWLY CHOSEN analytics@filetrek.com PASSSWORD>"
}
15) Click "Try it out!"

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk