Using the bladduser utility

The BMC Server Automation bladduser utility lets you perform the following tasks:

To create a user using bladduser

Use the bladduser utility to define a password for the RBACAdmin and BLAdmin users and any other users you want to create outside of the RBAC Manager folder.

A BMC Server Automation system by default provides two predefined roles and users, including the RBACAdmin and BLAdmin users. Neither of those users can log on, however, until you have defined a password for them, which is possible with the bladduser utility.

  1. To create a user, do one of the following from the directory where an Application Server is installed:
    • (Microsoft Windows) Enter the following command:

      bin\bladduser.exe

    • (UNIX) Enter the following command:

      ./bin/bladduser

      The bladduser utility starts and prompts you for a user name.

  2. Enter a user name, such as RBACAdmin. The utility prompts you for a password.
  3. Enter a password. The utility prompts you to reenter the password. Confirm the password by typing it again.

    Note

    When using the bladduser utility, you can pass a user name and password as a string of parameters, effectively skipping the need to enter user information about the command line. For example, you can add a user named betty by entering the following command:
    bladduser betty password

To create users in bulk

Rather than creating users one-by-one in the RBAC Manager folder, you can use the bladduser utility to create multiple users by importing a file containing a list of user names and passwords.

The list must have the following format: 
<user>,<password>
<user>,<password>
<user>,<password>

where <user> is a user ID and <password> is the password associated with that user ID.

  1. Do one of the following from the directory where an Application Server is installed:
    • (Microsoft Windows) Enter the following command:

      bin\bladduser.exe -f <fileName>

    • (UNIX) Enter the following command:

      ./bin/bladduser -f <fileName>

      where <fileName> is the name of the file containing the list of users you want to import.

Was this page helpful? Yes No Submitting... Thank you

Comments