NAME
disbatch-create-users - create roles and users for Disbatch
VERSION
version 3.990
SYNOPSIS
disbatch-create-users --config /etc/disbatch/config.json --root_user root
ARGUMENTS
- --config <string>
-
Path to the JSON Disbatch config file.
The config file must have keys for
mongohost
anddatabase
.It must also have the key
auth
which is a hash with keysdisbatchd
,disbatch_web
, andtask_runner
whose values are the passwords for those MongoDB disbatch users. - --root_user <string>
-
Username of the MongoDB root user.
- --plugin_perms <string>
-
Path to the JSON config file for
plugin
permissions. Default is/etc/disbatch/plugin-permissions.json
.No permissions are required, but note that Disbatch::Plugin::Demo must be able to do
insert
on thereports
collection. - --create_root
-
Will first create the root user in the
admin
database. Optional.This only works if no other users have been created.
- --drop_roles
-
Will drop Disbatch roles and users before creating them. Optional.
SEE ALSO
AUTHORS
Ashley Willis <awillis@synacor.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2016 by Ashley Willis.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004