glassfish
  1. glassfish
  2. GLASSFISH-16284

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • 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
        Paul Davies added a comment -

        Under consideration for fixing in the 3.1.1 bundled docs

        Show
        Paul Davies added a comment - Under consideration for fixing in the 3.1.1 bundled docs
        Hide
        kevinmcd added a comment -

        I added the following paragraph to the description section of the create-file-user.1 man page:

        "You can use the --passwordfile option of the asadmin(1M) command to specify the password for the user. The password file entry must be of the form AS_ADMIN_USERPASSWORD=user-password."

        Is this sufficient, or is more needed?

        Show
        kevinmcd added a comment - I added the following paragraph to the description section of the create-file-user.1 man page: "You can use the --passwordfile option of the asadmin(1M) command to specify the password for the user. The password file entry must be of the form AS_ADMIN_USERPASSWORD=user-password." Is this sufficient, or is more needed?
        Hide
        Tom Mueller added a comment -

        This LGTM.

        Show
        Tom Mueller added a comment - This LGTM.
        Hide
        kevinmcd added a comment -

        Change appears in svn revision 47759, which I checked in the nightly build of 07-Jul-2011.

        Show
        kevinmcd added a comment - Change appears in svn revision 47759, which I checked in the nightly build of 07-Jul-2011.

          People

          • Assignee:
            kevinmcd
            Reporter:
            Tom Mueller
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: