Daniel Ruiz via FreeIPA-users wrote: > Hello! > > Thanks Alexander for your answer, but I continue with doubts. As you say here > "For new users you should create those NFS directories before they'd > login. Obviously, this should happen after they were created in IPA if you > are not assigning explicit UID/GID values yourself. At the creation time then > IPA will assign new UID/GID values and after that you'd create a user." but > my doubt is that, if I have understood all process correctly, I must do this: > 1. Create a new user folder in the NFS server. Question: for that new folder, > what uid/gid must I assign? Because when I do "mkdir /home/foo", that "foo" > won't exist at that moment and, by default, that folder will belong to > "root.root". > 2. Create user in IPA with "ipa user-add", assigning $HOME and other values. > Then, I could assign an UID/GID in this command but what UID/GID? I suppose > that "mkdir" will have assign root.root but I could assign two numbers as > "12345.54321" to that folder > 3. Then, from the IPA client machine, new user could log in... but, what > UID/GID will he have? Could he write in his $HOME? Must I change UID/GID with > new ones generated from "ipa user-add"?
You have an existing NIS user base right? And they have NFS directories? Alexander was saying that when you create your IPA users to replace the NIS users you can keep the same UID/GID by passing in the existing UID/GID and things should continue to work as-is (assuming the UID > 1000 and you create a custom ID range). I think what you're asking is for the post-migration, totally new users right? If you install your clients using --mkhomedir then it should create their home directory upon first login. I forget if it works with NFS. rob -- _______________________________________________ FreeIPA-users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
