Petar Kozić via FreeIPA-users wrote:
Hi folks,
I want to unjoin several linux servers from IPA, but I want to still use
same usernames locally.
When I unjoin server from IPA user UID and GID changed to IPA UID and
GID, and that users I don’t have locally in passwd file.
How can I smooth migrate that users to local users?
P.S. I tried to create local user with useradd but can’t because user
and home exists what is expected.
useradd -M will not create the home directory.
Otherwise I don't see why it shouldn't work as long as you pass in the
existing uid/gid.
Seeing the commands you're using and the output would help if you
continue to have problems.
rob