Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sabnzbd not using USER #47

Open
MechEng70 opened this issue Jul 22, 2020 · 1 comment
Open

sabnzbd not using USER #47

MechEng70 opened this issue Jul 22, 2020 · 1 comment

Comments

@MechEng70
Copy link

MechEng70 commented Jul 22, 2020

Have been able to get the openvpn portion running, however the error is local to the sabnzbd user.

Here is the command to start the docker:
sudo docker run -d --name sabnzbdvpn -v /home/plex/.sabnzbd:/config -v /etc/openvpn:/etc/openvpn -v /etc/localtime:/etc/localtime:ro -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro --device=/dev/net/tun -p 8800:8800 -e "LOCAL_NETWORK=172.16.4.1/23" -e USER_NAME=plex -e PUID=1001 -e PGID=1001 -e DOWNLOAD_DIR="/home/plex/Downloads/complete" -e INCOMPLETE_DIR="/home/plex/Downloads/incomplete" -e OPENVPN_CONFIG="torguardSF_UDP.conf" --cap-add=NET_ADMIN mumiehub/sabnzbdvpn

Here is the log:
`adding route to local network 172.16.4.1/23 via 172.17.0.1 dev eth0,
Error: Invalid prefix for given prefix length.,
Setting owner for Folder paths to 1001:1001,
,

Sabnzbd will run as

User name: plex
User uid: 1001
User gid: 1001

OPEN VPN WORKING

STARTING SABNZBD with USER
Startup script SABnzbd completed.
Wed Jul 22 09:28:57 2020 Initialization Sequence Completed
sudo: unknown user: abc
sudo: unable to initialize policy plugin`

The 'abc' user is hard coded, shouldn't this be overwritten by the plex user that is set?

@MechEng70
Copy link
Author

how can I hard code the 'abc' user on ubuntu?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant