The remote change-admin-password command allows you to change the administration password. You are prompted for the old and new admin passwords, with confirmation.
Ensure that the server is running.
Remote commands require a running server.
Change the admin password by using the change-admin-password(1) command.
Enter the old and new admin password as prompted.
The following example changes the admin password for user anonymous from adminadmin to newadmin:
asadmin change-admin-password --user anonymous |
Information similar to the following is displayed:
Enter admin password>adminadmin Enter new admin password>newadmin Enter new admin password again>newadmin Command change-admin-password executed successfully. |
To see the full syntax and options of the command, type asadmin change-admin-password --help at the command line.