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.