Page 1 of 1

Rutorrent default password change

Posted: Wed Nov 30, 2016 6:33 pm
by meskafonas
Hello, i just installed your awesome rTorrent/rutorrent script and i want to change default rutorrent password. Tried to google it before asking here, but without luck. So how i can change password? ;)

Access web interface:
url = http://192.168.0.100/rutorrent
username = root
password = dietpi

Re: Rutorrent default password change

Posted: Wed Nov 30, 2016 8:38 pm
by Fourdee
Hi,

As the password is applied to the webserver, it depends on the webserver stack used.

If you use the default webserver choice (lighttpd), you can change the ruTorrent password by running:
Change the password dietpi below as needed.

Code: Select all

echo -e "root:rtorrent:$(echo -n "root:rtorrent:dietpi" | md5sum | cut -b -32)" > /etc/.rutorrent-htaccess
Then restart the webserver with:

Code: Select all

dietpi-services restart
If your using a different webserver, let me know which and i'll take a look.

Re: Rutorrent default password change

Posted: Wed Nov 30, 2016 9:03 pm
by meskafonas
IT WORKED! Sorry i forgot to mention that i use lighttpd. When i enter just my LAN IP address into URL bar it opens this page. Is it safe to leave like this? I dont plan making any websites public. 8-)

Image

Re: Rutorrent default password change

Posted: Wed Nov 30, 2016 9:10 pm
by Fourdee
meskafonas wrote:IT WORKED! Sorry i forgot to mention that i use lighttpd. When i enter just my LAN IP address into URL bar it opens this page. Is it safe to leave like this? I dont plan making any websites public. 8-)

Image
Yep this is default webpage that gets installed, its a placeholder for your website. If you have enabled port forwarding 80 on your router to the DietPi system, anyone can access this page as read-only. In other words, they can view it as you see it and thats it.

Your ruTorrent will still be password protected. Regardless of router forwarding of port 80.

Re: Rutorrent default password change

Posted: Wed Nov 30, 2016 9:32 pm
by meskafonas
Can i somehow just disable that page and make not discoverable?

Re: Rutorrent default password change

Posted: Wed Nov 30, 2016 11:59 pm
by johnvick
meskafonas wrote:Can i somehow just disable that page and make not discoverable?
Unless you have forwarded port 80 to the IP address of your device it won't be publicly accessible.

Re: Rutorrent default password change

Posted: Thu Dec 01, 2016 7:17 pm
by meskafonas
My port 80 is open. Is it possible to disable that page forever? I only want to keep rutorrent access.

Re: Rutorrent default password change

Posted: Thu Dec 01, 2016 8:24 pm
by Fourdee
meskafonas wrote:My port 80 is open. Is it possible to disable that page forever? I only want to keep rutorrent access.

Code: Select all

rm /var/www/index.htm*

Re: Rutorrent default password change

Posted: Thu Dec 01, 2016 8:37 pm
by meskafonas
Now if i enter in URL: http://192.168.1.19x/ But it still says: 404 - Not Found.



I want to make that LAN IP page to say: This site can’t be reached

192.168.1.19x took too long to respond.
Try:
Checking the connection
Checking the proxy and the firewall
Running Windows Network Diagnostics

Re: Rutorrent default password change

Posted: Thu Dec 01, 2016 9:22 pm
by johnvick
Just create a simple HTML page along the lines of

<html>
Your message here
</html>

and replace the placeholder index.html file with it.