To delete the default accounts via the CLI, do the following:
-
Enter the following commands:
$ account admin delete
$ account operator delete
$ account user deleteExample:
JavaScript$ account admin delete Are you sure you want to delete admin account? (Y,N): y Account deleted successfully. -
Confirm that the accounts are deleted.
JavaScript$ account all list name role state pwd expiry pubk ---------------------- -------------- ----------- --------------- ------ initialadmin Administrator Enabled in 30 days No