When running Vidispine on premise the default admin credentials are set according to documentation, and when running on Azure or AWS, the default password can be found in the server console. There are two ways to change the admin user password; either by using the API, or by using the vidispine-admin tool in the standalone version of Vidispine. When using the API, changing the admin user password is done the same way as when changing any Vidispine user’s password, i.e.with a PUT request to http://localhost:8080/API/user/admin/password?type=raw, using the URL to your Vidispine instance instead of localhost. The body of the request should be plain text and only consist of your new password, see user credentials reference in the API documentation. 

Note: It is very important to include the ?type=raw in the PUT-request, as this will trigger the password hashing and salting when stored in the database. Submitting the request without ?type=raw will cause a lockout of the admin user. If you do lock yourself out of your system this way, you can use the vidispine-admin tool (see "Resetting passwords" below). 

cURL example: 
curl -v -uadmin:admin 'http://localhost:8080/API/user/admin/password?type=raw' --data-binary 'newpassword' -X PUT -Hcontent-type:text/plain

 Resetting passwords

You can also reset the password for the admin user, or any user, using vidispine-tools. Since the vidispine-admin command line tool reads the database connection settings from the Vidispine server configuration file and modifies the password directly in the database, the vidispine-tools package needs to be installed on the system running Vidispine.  In the Azure and AWS Marketplace versions the vidispine-tools package are installed automatically, else you can find instructions on how to install the vidispine-tools package here.

 

$ apt-get install vidispine-tools
$ vidispine-admin password
enter user [admin]: 
enter new password: 
are you sure? y
resets password for admin.....: ok

 

Note: This works in the standalone version of Vidispine, as well as on the Azure and AWS Marketplace versions.

Further reading

You can find more information about users and access control in our API documentation in the section Users, groups and access control.