Resources

Delete Default Users from the CLI

To delete the default accounts via the CLI, do the following:

  1. Enter the following commands:
    $ account admin delete
    $ account operator delete
    $ account user delete

    Example:

    JavaScript
    $ account admin delete
    Are you sure you want to delete admin account? (Y,N): y
    Account deleted successfully.
    
  2. Confirm that the accounts are deleted.

    JavaScript
    $ account all list
    name                    role           state       pwd expiry      pubk
    ---------------------- -------------- ----------- --------------- ------
    initialadmin            Administrator  Enabled     in 30 days      No