Dmitry Nevozhay
Dabbler
- Joined
- May 30, 2014
- Messages
- 30
Hi guys,
I've written the short script to automate creating the users and roles for set of plugins (where v1 is my RAIDZ2 volume, and v1/media is dataset):
pw groupadd -n media -g 816
pw groupadd -n plex -g 972
pw groupadd -n transmission -g 921
pw useradd -n media -u 816 -d /mnt/v1/media -s /bin/csh -g media -G transmission,plex
pw useradd -n plex -u 972 -d /mnt/v1/media -s /bin/csh -g plex -G media
pw useradd -n transmission -u 921 -d /mnt/v1/media -s /bin/csh -g transmission -G media
It seemed working on 9.2.1.7release i had before...
But now on fresh install of 9.3release it runs (in GUI shell, logged as root), but users and groups don't appear in GUI Accounts !
While checking from shell command line:
[root@freenas ~]# id plex
uid=972(plex) gid=972(plex) groups=972(plex),816(media)
[root@freenas ~]# id transmission
uid=921(transmission) gid=921(transmission) groups=921(transmission),816(media)
[root@freenas ~]# id media
uid=816(media) gid=816(media) groups=816(media),972(plex),921(transmission)
I don't understand, what's the problem in?
Is it a bug or misunderstood feature ?
I've written the short script to automate creating the users and roles for set of plugins (where v1 is my RAIDZ2 volume, and v1/media is dataset):
pw groupadd -n media -g 816
pw groupadd -n plex -g 972
pw groupadd -n transmission -g 921
pw useradd -n media -u 816 -d /mnt/v1/media -s /bin/csh -g media -G transmission,plex
pw useradd -n plex -u 972 -d /mnt/v1/media -s /bin/csh -g plex -G media
pw useradd -n transmission -u 921 -d /mnt/v1/media -s /bin/csh -g transmission -G media
It seemed working on 9.2.1.7release i had before...
But now on fresh install of 9.3release it runs (in GUI shell, logged as root), but users and groups don't appear in GUI Accounts !
While checking from shell command line:
[root@freenas ~]# id plex
uid=972(plex) gid=972(plex) groups=972(plex),816(media)
[root@freenas ~]# id transmission
uid=921(transmission) gid=921(transmission) groups=921(transmission),816(media)
[root@freenas ~]# id media
uid=816(media) gid=816(media) groups=816(media),972(plex),921(transmission)
I don't understand, what's the problem in?
Is it a bug or misunderstood feature ?