NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
steveT1
Nov 11, 2014Aspirant
UID > 1000
I have been using a ReadyNAS Duo for a while as a backup device and a media server. My main environment is linux and so far the backups and media have been set up from an older Fedora Core 16 laptop. ...
steveT1
Nov 12, 2014Aspirant
OK - no replies here.
So just to complete the thread:
I tried to contact Netgear via their 'online chat' and managed to 'talk' to one of their team who didn't even seem to be aware of the issue with user ID 1000. So, I re googled the issue and re-looked at what others had done 'unofficially', just to make sure that I hadn't missed anything.
I really only needed UID 1000 to be available on the NAS (but this would have worked for other >1000 UIDs).
1) I installed SSH access to the NAS.
2) Logging in as root with the admin password, I initially took a look at the /etc/passwd file and /etc/group to see what/who had been defined and confirmed that users existed for 'backup' and 'media' - both of which taking up UIDs in the >=1000 range (so really the NAS is out of step with Linux distros, where it now seems that 'system and utility' users are allocated <1000, and normal users >=1000).
3) Checked if 'backup' (UID 1000) had any files on the NAS via find - none found.
4) Using 'usermod', I moved the backup user to UID 1099 from 1000.
5) Again with usermod, I moved 'my' original UID 500 user to UID 1000 and GID 1000.
6) Using chown -R myuser:mygroup I then changed all the ownerships of the files (which were now orphaned to the non-existant UID 500 and wrong group) in both the main backup, home and media folders.
That enables me to now use UIDs >=1000 on FC20, and be able to keep the NAS UIDs in sync.
Early days, as I obviously haven't fully restored from the NAS and backed up to it again, but on first looks and after one successful restore, it looks ok (I did try connecting from DLNA devices to the 'media' music share, and that seemed to work as well). I never used the 'backup' button on the NAS, so at this point I'm not certain that moving the backup user hasn't created any issues elsewhere.
So just to complete the thread:
I tried to contact Netgear via their 'online chat' and managed to 'talk' to one of their team who didn't even seem to be aware of the issue with user ID 1000. So, I re googled the issue and re-looked at what others had done 'unofficially', just to make sure that I hadn't missed anything.
I really only needed UID 1000 to be available on the NAS (but this would have worked for other >1000 UIDs).
1) I installed SSH access to the NAS.
2) Logging in as root with the admin password, I initially took a look at the /etc/passwd file and /etc/group to see what/who had been defined and confirmed that users existed for 'backup' and 'media' - both of which taking up UIDs in the >=1000 range (so really the NAS is out of step with Linux distros, where it now seems that 'system and utility' users are allocated <1000, and normal users >=1000).
3) Checked if 'backup' (UID 1000) had any files on the NAS via find - none found.
4) Using 'usermod', I moved the backup user to UID 1099 from 1000.
5) Again with usermod, I moved 'my' original UID 500 user to UID 1000 and GID 1000.
6) Using chown -R myuser:mygroup I then changed all the ownerships of the files (which were now orphaned to the non-existant UID 500 and wrong group) in both the main backup, home and media folders.
That enables me to now use UIDs >=1000 on FC20, and be able to keep the NAS UIDs in sync.
Early days, as I obviously haven't fully restored from the NAS and backed up to it again, but on first looks and after one successful restore, it looks ok (I did try connecting from DLNA devices to the 'media' music share, and that seemed to work as well). I never used the 'backup' button on the NAS, so at this point I'm not certain that moving the backup user hasn't created any issues elsewhere.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!