General > Guidelines and more
{Guide}How to get SSH access and change transmission client password on LS520D
Gogoli:
Hello
After struggling to find a way to change transmission password because the default one is empty I found the way to change that password...
My box is a Buffalo LS 520D with firmware 4.50
First, we have to enable ssh to get root access witch is very simple using acp commander witch all of you are familiar with
--- Code: ---java -jar acp_commander.jar -t yournasiphere -ip yournasiphere -c "/etc/init.d/ssh.bak start"
--- End code ---
The root password is empty but in case it isn't just use this command to change the root password to something you want
--- Code: ---java -jar acp_commander.jar -t NAS_IP -ip NAS_IP -pw Youradminpassword -c "(echo newrootpass;echo newrootpass)|passwd"
--- End code ---
You have to change settings.json permission
--- Code: ---java -jar acp_commander.jar -t yournasiphere -ip yournasiphere -c "chmod 777 /etc/transmission-daemon/settings.json"
--- End code ---
Third, you have to use WinSCP windows program and login through sftp with your ssh credentials and navigate to:
--- Code: ---/etc/transmission-daemon/settings.json
--- End code ---
After, write the rpc-password in the /etc/transmission-daemon/settings.json file, in double-quotes
At the end connect through putty with ssh details and run this command
--- Code: ---/etc/init.d/transmission-daemon reload
--- End code ---
Voila your trasmission password was changed successfully
1000001101000:
Nice!
Does the setting stay in place if you reboot?
Gogoli:
Yes 100%...I already tried to reboot it and even turned off my NAS and the password didn't reset....After reboot or reloading the demon the password is same, just the password inside the settings.json is being hashed automatically by the system.
The trick for this was to not run those commands while demon is stopped!
1000001101000:
I noticed they did an overlay for /etc but didn't realize it was to make it RW. That makes sense, otherwise things like passwords also wouldn't be persistent.
That opens up some interesting (and dangerous) possibilities.
Gogoli:
Dangerous for me is equal to freedom
To earn full freedom you have to risk
Navigation
[0] Message Index
[#] Next page
Go to full version