* docs: rework files structure * rewrite documentation entrypoint * update category files and use yml * add manuals entry page * update admin-manual titles and page order * create releases sections * move ssl configuration to reverse proxy * docs: update website vars and links * update release note codeblock syntax key * resurect troubleshooting guide * Update freeipa custom auth documentation * add notice about the state of the documentation * update the backup documentation * tmp: allow to deploy the website for preview * Don't use require.resolve for plugins * Update the main page link dest * update development environment title * rewrite the install/upgrade/migrate as guides * update website docs sections links * Fix urls * move release note to documentation * move home links to vars files * tmp: update deploy url * add react to tsconfig to handle jsx linting * fix: replace absolute url to relative path to files * tmp: allow CI Website dpeloy on working branch * Update release note title * use default syntax highlighting theme * update the troubleshooting guide * Wording * use CodeBlock components * Better prose * remove api_client config section * fix prose errors * update import prefix for vars file * reroder docs manuals links * use sentence capitalization for page titles * Wording * missing word * Update note about syslog log file * wording
2.6 KiB
title | sidebar_position |
---|---|
Change default passwords | 80 |
LibreTime
To change the password of the current user:
- Log in to LibreTime
- Click on the username in the upper right corner (next to Log Out)
- Enter the new password twice and click Save
To change the password for a different user (requires Administrator privileges):
- Log in to LibreTime
- Go to Settings > Manage Users
- Select the user, enter the new password twice, and click Save
PostgreSQL
Two of the most important passwords that should be changed immediately after installation are the passwords used by the PostgreSQL database. It is strongly recommended that you do this before exposing your server to the internet beyond your internal network.
- Login to PostgreSQL with
sudo -u postgres psql
. The PostgreSQL shell -postgres=#
- means that you have logged in successfully. - Change the admin password with
ALTER USER postgres PASSWORD 'myPassword';
, wheremyPassword
is the new password. Make sure to include the semicolon at the end! A response ofALTER ROLE
means that the command ran successfully. - Change the password for the airtime user with
ALTER USER airtime WITH PASSWORD 'new_password';
A response ofALTER ROLE
means that the command ran successfully. - If all is successful, logout of PostgreSQL with
\q
, go back to/etc/airtime/airtime.conf
to edit the password in the config file, and restart all services mentioned in the previous section.
Icecast
Random passwords are generated for Icecast during the installation. To look up and change the passwords, edit /etc/icecast2/icecast.xml
.
Replace the admin and changeme fields below.
<authentication>
<!-- Sources log in with username 'source' -->
<source-password>changeme</source-password>
<!-- Relays log in with username 'relay' -->
<relay-password>changeme</relay-password>
<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>changeme</admin-password>
</authentication>
Then, restart your icecast2 service with sudo systemctl restart icecast2
.
Note: If you change the source password, you may need to manually configure LibreTime to use the new password: go to Settings > Streams, set the streaming server to Custom and fill out the Additional Options below Stream 1.
RabbitMQ
To change the default password for RabbitMQ, run the following command
sudo rabbitmqctl change_password airtime newpassword
and then update the /etc/airtime/airtime.conf
file with the new password.