IBM Security SOAR

Expand all | Collapse all

Create initial user automagically

  • 1.  Create initial user automagically

    Posted Mon June 21, 2021 08:45 AM
    Hey,
    The command for creating a new user after resilient has been installed is: 

    "sudo resutil newuser -createorg -email "jsmith@example.com" -first "John" -last "Smith" -org "My Company, Inc."" 

    Is there some recommended way of adding the default user automagically? Running the command above prompts for password. Anyone has a good way of doing this?

    ------------------------------
    Johan AAlund
    ------------------------------


  • 2.  RE: Create initial user automagically

    Posted Tue June 22, 2021 08:35 AM
    Can you elaborate on what your use case is? I'm not really sure how a the system would know how to create a user with the appropriate name, organization and password.

    If you don't want the command to prompt for a password it is possible to use the -password flag. Though that command line argument may show up in a 'ps' list so it may not be the most secure way of doing it.

    Ben

    ------------------------------
    Ben Lurie
    ------------------------------