This guide explains how you can change the following passwords:
- Feral web manager
- SSH / SFTP / FTP
For certain pieces of software it assumes that you can access your slot via SSH
One thing to note when changing passwords via SSH is that the password entry will not appear to respond to your input - it will not display ***** or something similar as you type.
Feral web manager
To change this password, please visit the Feral account recovery page and choose the option to recover your account via e-mail. Put the e-mail associated with your account in the box and you will be sent a link to set a new web manager password.
SSH / SFTP / FTP
These three services share the same password and to change it you'll actually need access to your slot via SSH. Once logged in simply run the command passwd. You will be asked to enter your current password, your new password and a confirmation of that new password.
As you might imagine, the requirement to change password via SSH doesn't help if you want the password changed or reset because you've forgotten it. Please contact staff by opening a ticket and let them know the situation.
User authentication for ruTorrent is handled by means of an .htpasswd file, so if you wish to change the password you will need to login via SSH.
Then run the command htpasswd -m ~/www/$(whoami).$(hostname -f)/public_html/rutorrent/.htpasswd $(whoami). You'll then be prompted to enter a new password and confirm it. Please note that this assumes you want to change the password for your Feral username. You'll need to replace $(whoami) with an actual username if it was different to your Feral username.
The easy way
By far the easiest way to change the Deluge web UI password is to log in to the web UI, click on Preferences and select the Interface section. You will need to specify your old password, enter your new password and confirm it by entering it again.
The hard(er) way
If you do not have access to the Deluge web UI things are a little more complex. You can run the commands below to reset the password to Deluge's default or simply reinstall to get a randomised password.
The following will reset the Deluge web UI's password to deluge:
cp ~/.config/deluge/web.conf ~/.config/deluge/web.conf-$(date -I) pkill -9 -fu "$(whoami)" 'deluge-web' sed -i 's|"pwd_sha1": ".*",|"pwd_sha1": "bc28bfa49a73fd2384cbecd6572ea72d0166aa28",|g' ~/.config/deluge/web.conf sed -i 's|"pwd_salt": ".*",|"pwd_salt": "",|g' ~/.config/deluge/web.conf
At this point, you'll need to wait until the system restarts your Deluge web UI (the process name is deluge-web). The system will scan the users on the server every 5 minutes and start up any processes which should be running but are not, like your deluge web UI. Once restarted, the password should be reset and you can access the web UI to set your intended password, as above.
Log in to your slot via SSH and run the following commands. Since Transmission writes to its config on closing, you'll need to make the changes whilst the Transmission daemon is not running. These commands will stop Transmission and prevent it from being restarted whilst you make your changes:
pkill -fu "$(whoami)" 'transmission-daemon' touch ~/private/transmission/.prevent-restart
To change the password run the following command after changing the variable - password should be replaced with the password of your choice:
sed -i 's|"rpc-password": ".*",|"rpc-password": "password",|g' ~/.config/transmission-daemon/settings.json
You can then remove the .prevent-restart with rm ~/private/transmission/.prevent-restart. It might take up to 5 minutes for Transmission to be restarted by the system - users cannot restart it manually sooner than this.