I have a new computer on which I have installed suse11. My old computer has suse10. I have copied all my files to move to the new machine and I have the same username on both systems but the uid on my old one is 501 and on the new one it is 1001. I know this is going to cause trouble. How do I fix it?
It’s not the number of digits that is significant, but the starting number which is 500 in old Linux systems, and 1000 in recent systems.
If you had copied the files using tar, then it would have taken care of the uid, provided that the account exists on the new system. Similarly with rsync. That’s because tar and rsync keep track of the account name and unpack to the appropriate uid.
If your files are already copied over, then assuming all the files in /home/novelldgm belong to you, you only have to do:
chown -R novelldgm /home/novelldgm