AnsweredAssumed Answered

(Users and Groups) IDs not as per upgrade guide

Question asked by Muzammil K on Dec 27, 2017


I've upgraded our Test server (Soft Appliance) from 7.0.0 to 7.0.2, and the ID of Users and Groups were as per the Upgrade and Migration Guide.


However for our Production Server (Hard Appliance - R620), the UID of User "admin" and Group "datadir" are different than what is in Upgrade and Migration Guide.


Could someone please specify the steps or correct me if I'm wrong with the below steps?

I'm just being cautious and want to know if I'm missing anything before I proceed.


What I would do is:

1. Assign the correct ID to user [Command: usermod -u 501 admin]

2. Assign correct ID to group. [Command: groupmod -g 502 datadir]

3. Manually change files with old ID


find / -group 1000 -exec chgrp -h datadir {} \;
find / -user 1000 -exec chown -h admin {} \;