glassfish
  1. glassfish
  2. GLASSFISH-20940

create-file-user password option for --passwordfile isn't documented on Glassfish 4

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1.1
    • Component/s: docs
    • Labels:
      None

      Description

      To pass in the password for a user to the create-file-user command, the method is to use the --passwordfile option with the following variable:

      AS_ADMIN_USERPASSWORD=mypassword

      This isn't documented in the manual page for create-file-user, specifically, that the name of the variable in the password file is AS_ADMIN_USERPASSWORD.

      This bug was prompted by issue GLASSFISH-16277 which is related to using create-file-user in embedded mode. However, this documentation fix is intended to deal with the CLI case. For the embedded case, once 16277 is resolved, then the embedded documentation needs to be updated with an explanation of how to pass a password to an embedded command.

        Activity

        Hide
        atrajano added a comment -

        help create-file-user on asadmin does not talk about the --passwordfile option

        SYNOPSIS
        create-file-user [--help] [--authrealmnameauth_realm_name]
        [--target target
        [--groups user_groups[:user_groups]*] user_name

        Show
        atrajano added a comment - help create-file-user on asadmin does not talk about the --passwordfile option SYNOPSIS create-file-user [--help] [--authrealmnameauth_realm_name] [--target target [--groups user_groups [:user_groups] *] user_name

          People

          • Assignee:
            kevinmcd
            Reporter:
            atrajano
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: