Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-24051

user-manage should allow a switch for simple update

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • feature-backlog
    • 5.0.0
    • tools
    • Enterprise Edition 5.0.0 build 2690

    Description

      Following are options for user-manage:
      User manage options:
      --delete Delete an existing RBAC user
      --list List all RBAC users and their roles
      --my-roles List my roles
      --set Create a new RBAC user
      --rbac-username <username> The RBAC username
      --rbac-password <password> The RBAC password
      --rbac-name <name> The full name of the user
      --roles <roles_list> The roles for the specified user
      --auth-domain <domain> The authentication type for the specified user

      Execute the command below:

      root@node1-cb450-ubuntu14:/opt/couchbase/bin# ./couchbase-cli user-manage --role admin --rbac-username ritam --auth-domain=local -c localhost -u Administrator -p password

      ERROR: Must specify --delete, --list, --my_roles or --set

      --set indicates that it is for user creation and both username and password need to be passed command to be run.
      A switch to update or allow set to run with username and roles.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            pvarley Patrick Varley (Inactive)
            ritam.sharma Ritam Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty