rtinst icon indicating copy to clipboard operation
rtinst copied to clipboard

Remove Login/Pass from RuTorrent

Open ghost opened this issue 8 years ago • 7 comments

Not and issue but more like a request or a feature. How can I remove the login/pass of ruTorrent so I can just have it open without login in every time; I only have 1 user on 1 machine (rasp pi3) so doesn't make any sense to have user login pass. thanks

ghost avatar Mar 21 '18 21:03 ghost

It does make sense as without it anyone can access your server over the internet.

You can use a password manager like the one built into chrome, to automatically fill in the details.

arakasi72 avatar Mar 23 '18 19:03 arakasi72

@minidarknova this is bad request. Many problems will come if you do this.

mrlongshen avatar Mar 23 '18 23:03 mrlongshen

I use rutorrent only locally and would like to know how to remove the login or pass or if there is a capability of the script to remove this login. Thanks :)

Ninsto avatar Dec 29 '19 04:12 Ninsto

You won't get support here in a issue report, so look elsewhere! Simply setup a password manager and you won't be bothered with the login while securing your server...

V33m avatar Dec 29 '19 11:12 V33m

Welp, for anyone else looking at this issue report who doesn't really need the security locally. You can use the "rtpass" command which will allow you to set the password as blank without it generating a random one for you. If you truely want it to be gone you need to change /var/www/rutorrent/.htaccess replace denied with granted, there is another file here /var/ww/rutorrent/share/.htaccess. In /etc/nginx/sites-available/default if you're using nano then do Ctrl^W and search for auth and you can either comment out or delete the two auth lines. You may also have to manually set your scgi port in /etc/nginx/nginx.conf/. WARNING!!! This will expose your rutorrent completely without password, only do this if you're on local network or some other system where you are the only person who will have access to this machine.

Ninsto avatar Dec 31 '19 15:12 Ninsto

Hi, I just want to add a vote for removing the htpassword entirely. I have rutorrent behind Keycloak authorisation so don't need the further authorisation with htpassword. However I've had trouble trying to disable it.

This isn't taking away from what a great job you've done with rtinst, I just want to clarify that there is a use case for passwordless access.

Chel avatar Jun 07 '20 22:06 Chel

Related to the discussion... I am using SSL client certificate verification:

<Location "/rutorrent">
  SSLVerifyClient require
  SSLVerifyDepth 1
  SSLCACertificateFile /etc/apache2/ssl/client.crt
</Location>

hence there is sort of no meaningful "username" in such scenario.

How can I switch ruTorrent to "single user mode"?

dmak avatar May 17 '24 09:05 dmak