YouROK / TorrServer

Torrent stream server
GNU General Public License v3.0
1.34k stars 178 forks source link

How to change password and username #374

Closed ancylow closed 2 months ago

ancylow commented 2 months ago

Sure this is a noob question, but cannot find the option to change user name and password. I have torrserver installed with docker on a Synology NAS. And is possible to add more users with different privilege?

Thanks in advance, love your work

puppinoo commented 2 months ago

Sure this is a noob question, but cannot find the option to change user name and password. I have torrserver installed with docker on a Synology NAS. And is possible to add more users with different privilege?

Thanks in advance, love your work

I have credentials saved into a file called accs.db . For me it's saved into torrserver folder but maybe it could be saved into home folder. Look for it.

Cheers..

tsynik commented 2 months ago

I have credentials saved into a file called accs.db . For me it's saved into torrserver folder but maybe it could be saved into home folder. Look for it.

Why you use Docker when there is Synology packages of TorrServer at https://grigi.lt?

this file must be in torrserver settings dir with config.db, but the main thing is -a (--httpauth) startup key. You can add any amount of users - https://github.com/YouROK/TorrServer#authentication

for Docker - https://github.com/YouROK/TorrServer#environments check TS_HTTPAUTH

ancylow commented 2 months ago

I have credentials saved into a file called accs.db . For me it's saved into torrserver folder but maybe it could be saved into home folder. Look for it.

Why you use Docker when there is Synology packages of TorrServer at https://grigi.lt?

this file must be in torrserver settings dir with config.db, but the main thing is -a (--httpauth) startup key. You can add any amount of users - https://github.com/YouROK/TorrServer#authentication

for Docker - https://github.com/YouROK/TorrServer#environments check TS_HTTPAUTH

You are right. First time I installed it using docker, but then realize that exists all that packages so I made a new clean installation from grigi. sorry for my confusion.

The thing is that I don't know how can I access to that file (access.db) or how can I execute that command -a (--httpauth)

tsynik commented 2 months ago

The thing is that I don't know how can I access to that file (access.db) or how can I execute that command -a (--httpauth)

auth can be enabled on package install without access to those options and auth file. Just remove it and reinstall.