superzebulon packages DO NOT create User in DSM.

The discussion lounge for third-party packages.
Forum rules
Please note the Disclaimer before modifying your Synology Product.

superzebulon packages DO NOT create User in DSM.

Postby ramb0 » Sun Apr 01, 2012 9:05 am

Hi,

Installed SABnzbd+ and SickBeard packages from superzebulon's resportory (http://synoblog.superzebulon.org/).

The "sabnzbd" and "sickbeard" users that are created, DO NOT show up in the DSM User's list.

Is this an error with the packages, or just the way it is?
ramb0
Trainee
Trainee
 
Posts: 10
Joined: Sun Mar 18, 2012 3:55 am

Re: superzebulon packages DO NOT create User in DSM.

Postby Ltek » Tue Apr 03, 2012 1:12 am

I don't know but the Sick Beard package work fine for me.
Ltek
Versed
Versed
 
Posts: 284
Joined: Sat Dec 10, 2011 9:21 pm

Re: superzebulon packages DO NOT create User in DSM.

Postby ramb0 » Tue Apr 03, 2012 12:21 pm

Ltek wrote:I don't know but the Sick Beard package work fine for me.


When you go into your DSM and Control Panel > User > does sickbeard show up in your user list??
ramb0
Trainee
Trainee
 
Posts: 10
Joined: Sun Mar 18, 2012 3:55 am

Re: superzebulon packages DO NOT create User in DSM.

Postby avatar7 » Tue Apr 03, 2012 7:23 pm

ramb0 wrote:
Ltek wrote:I don't know but the Sick Beard package work fine for me.


When you go into your DSM and Control Panel > User > does sickbeard show up in your user list??


Not on mine it does not show. Should you manually add user as sickbeard?
avatar7
I'm New!
I'm New!
 
Posts: 6
Joined: Mon Jan 30, 2012 2:23 pm

Re: superzebulon packages DO NOT create User in DSM.

Postby ramb0 » Tue Apr 03, 2012 11:47 pm

the Sick Beard package does add the user "sickbeard" to your Synology, how ever it just does not show up in the GUI of DSM... which brings me back to my original topic question...
ramb0
Trainee
Trainee
 
Posts: 10
Joined: Sun Mar 18, 2012 3:55 am

Re: superzebulon packages DO NOT create User in DSM.

Postby Goner » Wed Apr 04, 2012 11:03 am

I don't think it's an error with the packages .. it's just the way how users are created ; only users created in the Control Panel are show in DSM it seems.
You can see in /etc/passwd that the users are created in Linux, maybe there's a way to have them show up in DSM by placing them in a specific group or something ??

EDIT: it looks like DSM only controls the users with a User ID (UID) >= 1024 (which is admin)
I wonder if you can just change the UID in /etc/passwd ... any Linux gurus here ??

EDIT 2: looks like that's not a problem :
http://it.toolbox.com/blogs/locutus/how ... -gid-26368

NAS : DS212j with 2 ST2000DL003 in SHR / DSM 4.2-3211
LAN : Fritz!Box 7170, 4 Devolo, 1 Icidu 200Mbps AV homeplugs, 2 5-port switches
HW : Conceptronic CHD3NET, ACRyan Playon!HD, Eminent EM7075dts, Wii U, PS2
User avatar
Goner
Enlightened
Enlightened
 
Posts: 445
Joined: Tue Mar 06, 2012 2:27 pm
Location: Rotterdam, Netherlands

Re: superzebulon packages DO NOT create User in DSM.

Postby Ltek » Sun Apr 08, 2012 12:23 am

seems that ALL users should show up on the DM GUI... i they do not, this would be a bug IMO. Did anyone submit a bug ticket?
Ltek
Versed
Versed
 
Posts: 284
Joined: Sat Dec 10, 2011 9:21 pm

Re: superzebulon packages DO NOT create User in DSM.

Postby Goner » Sun Apr 08, 2012 10:27 am

Nope ... I wouldn't even want all Linux users (especially those created by non-supported packages) in DSM. But if you think it's a bug, feel free :wink:

NAS : DS212j with 2 ST2000DL003 in SHR / DSM 4.2-3211
LAN : Fritz!Box 7170, 4 Devolo, 1 Icidu 200Mbps AV homeplugs, 2 5-port switches
HW : Conceptronic CHD3NET, ACRyan Playon!HD, Eminent EM7075dts, Wii U, PS2
User avatar
Goner
Enlightened
Enlightened
 
Posts: 445
Joined: Tue Mar 06, 2012 2:27 pm
Location: Rotterdam, Netherlands

Re: superzebulon packages DO NOT create User in DSM.

Postby rdgerken » Mon Apr 09, 2012 9:48 pm

I noticed this too, but I think it might be specific to DSM 4. If I remember right, I DO remember seeing the users in the GUI prior to 4. (I had an alignment issue, so I reinstalled 4 from scratch, and noticed the users not showing up like you mentioned, but do not remember that back when I was on 3 something)
DS1511+
(5) WD30EZRS-00J99B0 Raid5+
rdgerken
Trainee
Trainee
 
Posts: 19
Joined: Mon Jun 06, 2011 11:59 pm

Re: superzebulon packages DO NOT create User in DSM.

Postby rdgerken » Thu Apr 12, 2012 3:45 am

Goner,

Looks like you hit this one on the head. I wasn't able to get the usermod command to work, guess that's not built into the system, so I updated the passwd file manually, then ran "find / -user <old uid> -exec chown <new uid> {} \;" based off of the link you sent. Getting those UIDs up above 1024 or something does appear to make them show up in the GUI.

Any idea what the "passwd-" file is? Looks like it had a copy of the original UIDs when I started, but as I made the changes to the UIDs, those users disappeared from this file. I'm not sure if I should have updated that before running or not. Also, is running this "find" command necessary? Seems to take a long time to run on each user.

Thanks!

EDIT 1: For those of you struggling with this, if you try to follow what I did, I would recommend documenting the old UID and new UID you intend to assign for each user, make the change to the etc/passwd file (I don't know what to do with the passwd- file, I didn't do anything with it), reboot your diskstation, then for each user run the "find" command I specified above. When I tried running the find command without the reboot first, it threw some Operation not permitted errors. After the reboot, the find commands seemed to complete. I don't know if this is necessary, but most posts I found on the net made it sound like it was. I'm a total linux newb, so I really don't know if you want to trust what I'm doing or not. And then I did one final reboot to just make sure everything was in good order. After this process, my users now showed up in the GUI to where I could manage them.
DS1511+
(5) WD30EZRS-00J99B0 Raid5+
rdgerken
Trainee
Trainee
 
Posts: 19
Joined: Mon Jun 06, 2011 11:59 pm

Re: superzebulon packages DO NOT create User in DSM.

Postby ramb0 » Thu Apr 12, 2012 12:15 pm

rdgerken wrote:Goner,

Looks like you hit this one on the head. I wasn't able to get the usermod command to work, guess that's not built into the system, so I updated the passwd file manually, then ran "find / -user <old uid> -exec chown <new uid> {} \;" based off of the link you sent. Getting those UIDs up above 1024 or something does appear to make them show up in the GUI.

Any idea what the "passwd-" file is? Looks like it had a copy of the original UIDs when I started, but as I made the changes to the UIDs, those users disappeared from this file. I'm not sure if I should have updated that before running or not. Also, is running this "find" command necessary? Seems to take a long time to run on each user.

Thanks!

EDIT 1: For those of you struggling with this, if you try to follow what I did, I would recommend documenting the old UID and new UID you intend to assign for each user, make the change to the etc/passwd file (I don't know what to do with the passwd- file, I didn't do anything with it), reboot your diskstation, then for each user run the "find" command I specified above. When I tried running the find command without the reboot first, it threw some Operation not permitted errors. After the reboot, the find commands seemed to complete. I don't know if this is necessary, but most posts I found on the net made it sound like it was. I'm a total linux newb, so I really don't know if you want to trust what I'm doing or not. And then I did one final reboot to just make sure everything was in good order. After this process, my users now showed up in the GUI to where I could manage them.


Hey thanks for your input. this looks to be very useful. I think the find command you mention is definitely required as i think it's changing the file privileges of any user that you've changed the UID of.

I'm a total newb too, so i'm wondering if there are any other consequences to changing the passwd file manually and running the find command as you've mentioned.

seems odd that the DSM GUI only lists users with a UID of 1024 or greater. I guess there are other system users that are not needed to be seen in the DSM friendly GUI so they've made the GUI ignore any user with an UID < 1024.

Thanks again, this is great.
ramb0
Trainee
Trainee
 
Posts: 10
Joined: Sun Mar 18, 2012 3:55 am


Return to Third-party Packages

Who is online

Users browsing this forum: kisraelsen and 5 guests