On 4/17/2013 1:06 PM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wednesday, 2013-04-17 at 09:38 -0700, Marc Chamberlin wrote:
Carlos - Thank you for your reply. I am aware that if I update an existing openSuSE system "in place" then I won't have these sort of UID/GID issues. Unfortunately, I have been burned in the past doing so, and because an upgrade can take quite awhile to complete, we want to keep the older version in a runnable state while we upgrade and test the new version. In particular we don't always upgrade our servers as each new version of openSuSE comes out, and often have to jump across several versions. So that means we must do fresh installs of each new version of openSuSE we upgrade to, in separate partitions and migrate services/data from the older version to the newer version manually. So that is why I am asking if there is an easy way to migrate UIDs/GIDs from an older system to a newer one, either during installation or after the initial installation is complete. I kinda suspect not, but will leave the question open hoping for enlightenment.. Meanwhile will continue to use YaST and bore myself to tears doing it on a case by case basis while avoiding conflicts...
Ok, understandable.
Question: your problem is with UIDs above 1000, or below? Both! System and User UIDs/GIDs...
I would suggest you create the adequate partitions in the destination system, but do not install. Then create the /etc directory, and put in it the groups and password files (and shadows).
Then start the installation and tell it to import the users, as I explained previously.
If that does not work, perhaps you have to clone the root filesystem at least before yast will recognize the user list as valid. OK. Thanks Carlos, I am down to our last 2 servers that need to be upgraded, so will give your suggestions a try when I get to them... Bernhard Voelker gave me a couple short shell commands that are proving helpful as well... Appreciate the suggestions...
Marc... -- "The Truth is out there" - Spooky -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org