Page 1 of 1

Running SABnzbd as a different user?

Posted: July 1st, 2017, 8:31 am
by philz90
Hi everyone,

I am trying to run Sabnzbd as a different user. So far I have found this topic: https://forums.sabnzbd.org/viewtopic.php?p=62589#p62589

What is interesting though, is that I did not have any file from Sabnzbd in etc/default/.

So I created /etc/default/sabnzbdplus and inserted:

Code: Select all

USER=Testuser
This did not work (after a reboot). Still Sabnzbd as user for the process. So I inserted:

Code: Select all

SABNZBD_USER=Testuser
Which also did not work. Last try was:

Code: Select all

SABNZBDPLUS_USER=Testuser
Still no luck. Is there anything left I could try?
Thank you so much for your answers! :)


Cheers,
Philz90

edit:
Information about what I am running:

Code: Select all

Distro: Linux version 4.9.0-0.bpo.3-amd64 ([email protected]) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Debian 4.9.25-1~bpo8+1 (2017-05-19)

Code: Select all

SAB Version: 2.0.1 [be5bebb]

Code: Select all

Python Version: 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2] [UTF-8]

Re: Running SABnzbd as a different user?

Posted: July 1st, 2017, 9:40 am
by jcfp
philz90 wrote: July 1st, 2017, 8:31 amWhat is interesting though, is that I did not have any file from Sabnzbd in etc/default/.

So I created /etc/default/sabnzbdplus and inserted:
How did you install sabnzbd? The debian packages for the program do come with an init.d script and a corresponding config file in /etc/default/, where one can set the username for the service. That setting is empty by default though and no account for this purpose is created on install either.