Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ansible
/
software-configuration
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7598b6fd
authored
May 01, 2018
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
fa29ec5e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
0 deletions
dmamanager.js
servicegateway.js
wdchat.js
dmamanager.js
0 → 100644
View file @
7598b6f
use
admin
db
.
auth
(
"root"
,
"password"
)
db
.
dropUser
(
"wdobject"
)
db
.
createUser
(
{
user
:
"wdobject"
,
pwd
:
"BBKaQWZpX43qN2Rn"
,
roles
:
[
{
role
:
"userAdminAnyDatabase"
,
db
:
"admin"
}
]
}
)
use
DMAMANAGER
db
.
dropUser
(
"mongoapp"
)
db
.
createUser
(
{
user
:
"mongoapp"
,
pwd
:
"mOng0@pp"
,
roles
:
[
{
role
:
"dbAdmin"
,
db
:
"DMAMANAGER"
},{
"role"
:
"readWrite"
,
"db"
:
"DMAMANAGER"
}]
}
)
\ No newline at end of file
servicegateway.js
0 → 100644
View file @
7598b6f
use
admin
db
.
auth
(
"root"
,
"password"
)
db
.
dropUser
(
"wdobject"
)
db
.
createUser
(
{
user
:
"wdobject"
,
pwd
:
"BBKaQWZpX43qN2Rn"
,
roles
:
[
{
role
:
"userAdminAnyDatabase"
,
db
:
"admin"
}
]
}
)
use
SERVICEGATEWAY
db
.
dropUser
(
"mongoapp"
)
db
.
createUser
(
{
user
:
"mongoapp"
,
pwd
:
"mOng0@pp"
,
roles
:
[
{
role
:
"dbAdmin"
,
db
:
"SERVICEGATEWAY"
},{
"role"
:
"readWrite"
,
"db"
:
"SERVICEGATEWAY"
}]
}
)
wdchat.js
0 → 100644
View file @
7598b6f
use
admin
db
.
auth
(
"root"
,
"password"
)
db
.
dropUser
(
"wdobject"
)
db
.
createUser
(
{
user
:
"wdobject"
,
pwd
:
"BBKaQWZpX43qN2Rn"
,
roles
:
[
{
role
:
"userAdminAnyDatabase"
,
db
:
"admin"
}
]
}
)
use
WDCHAT
db
.
dropUser
(
"wdmongo"
)
db
.
createUser
(
{
user
:
"wdmongo"
,
pwd
:
"BBgYWpbfqkr5ZwTS"
,
roles
:
[
{
role
:
"dbAdmin"
,
db
:
"WDCHAT"
},{
"role"
:
"readWrite"
,
"db"
:
"WDCHAT"
}]
}
)
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment