Running sabnzbd as a different user
Posted: March 11th, 2012, 8:03 pm
Hi, I have been trying to set sab up as a different user, I have it running fine as either root or my own user, but if I run it as user sabnzb it fails:
The user has group privlidges to the file:
I would log in as that user and try running it and see what happens but I have forgotten the password. Do I ened to do this or can I try something else? If I have to log in as this user can I just delete the password from the apssword file and create a new one?
Code: Select all
sudo service sabnzbdplus start
* Starting SABnzbd+ binary newsgrabber Traceback (most recent call last):
File "/usr/bin/sabnzbdplus", line 1678, in <module>
main()
File "/usr/bin/sabnzbdplus", line 992, in main
res, msg = config.read_config(inifile)
File "/usr/share/sabnzbdplus/sabnzbd/decorators.py", line 31, in newFunction
return f(*args, **kw)
File "/usr/share/sabnzbdplus/sabnzbd/config.py", line 652, in read_config
CFG = configobj.ConfigObj(path)
File "/usr/lib/python2.7/dist-packages/configobj.py", line 1230, in __init__
self._load(infile, configspec)
File "/usr/lib/python2.7/dist-packages/configobj.py", line 1237, in _load
h = open(infile, 'rb')
IOError: [Errno 13] Permission denied: '/home/username/.sabnzbd/sabnzbd.ini'
[fail]
Code: Select all
ll /home/username/ | grep sab
drwxrwxr-x 4 stock admin 4096 2012-03-12 00:21 .sabnzbd/
Code: Select all
sudo grep sabnzb /etc/group
admin:x:113:username,username2,sabnzb
sabnzb:x:1005: