What user does each plugin create?

Status
Not open for further replies.

darkryoushii

Explorer
Joined
Jan 23, 2013
Messages
60
Hey there,

I'm currently running 8.3.1 and have a fairly complex setup in terms of permissions. To get the permissions correct I had to create a new user "media" with the same UID and GID in the freenas GUI so that sab, sb and cp could be intergrated with my main users. I am wondering with the new 9.x updates - do the plugins still use the same "media" user with 40001 as their UID or do they each create their own?

If they do create their own, how do I go about changing the UID or user that runs the plugin.

The plugins that I will be running are SAB, SB, CP, Transmission and PMS.

I want to intergrate it so that my main user can join the auxiliary group of media and have the same full control permissions as media, while the other users can only read and execute.

Any help is greatly appreciated,
Thanks in advance,
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
It appears that they create their own user/group. Here are some of them that I've seen:
  1. TransmissionBT: transmission
  2. Plex: plex
  3. Sabnzbd: _sabnzbd
  4. Couchpotato: media
  5. Sickbeard: _sickbeard
 

Nayr1991

Cadet
Joined
Aug 18, 2013
Messages
4
let me know how you get on with changing user groups, as i had issues trying to accomplish the same thing.
i used chpass <username> to change the groups the user is a part of and changed the /usr/local/etc/rc.d/sabnzbd script to reflect the group change, but am unable to get sabnzbd to start, so I'm obviously missing something.

These are the default UID/GID for everything requested.

Code:
root@couchpotato_1:/ # id media
uid=1002(media) gid=1002(media) groups=1002(media)
 
root@sabnzbd_1:/ # id _sabnzbd
uid=350(_sabnzbd) gid=350(_sabnzbd) groups=350(_sabnzbd)
 
root@sickbeard_1:/ # id _sickbeard
uid=1002(_sickbeard) gid=1002(_sickbeard) groups=1002(_sickbeard)
 
root@plex_1:/ # id plex
uid=972(plex) gid=972(plex) groups=972(plex)
 
root@bit_1:/ # id transmission
uid=921(transmission) gid=921(transmission) groups=921(transmission)



Edit: corrected UID/GID for sab
 

Neme

Dabbler
Joined
Feb 23, 2013
Messages
14
It's easy enough to set up if you are willing to give the owner and group full access, but I've not yet found a decent way (though i've not really spent much time on it) of being able to configure 2 or more of these plugins that need to share data (sabnzbd, sickbeard, couchpotato etc) while still retaining the ability to grant the owner full access, the group read access and "other" no access on my ZFS pool and shares, due to the mix of id's used by these plugins.

I like the simplicity of default unix style permissions and the fact these can be done through the FreeNAS GUI, but in this instance I might have to relent and have a play around with full blown ACLs for these files/folders to get what I want.

Guess I might have to fire up a VM and have a play around with full blown ACLs, Let me know if you have any luck setting this up in a logical yet securable way especially if you can do it with basic Unix permissions.
 

ShinobiX9X

Contributor
Joined
Mar 6, 2013
Messages
141
I couldn't manage to change the users, but i did however change their groups to the same id (name) with the chpass command in shell.
It works well enough this way.
 
Status
Not open for further replies.
Top