<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hello Dan,</span></div><div><span>Many thanks. It worked.<br></span></div><div>Now I remember this was done by default on my other clients... don't know why.</div><div>George</div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight: bold;">From:</span></b> Dan Scott <danieljamesscott@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> george he <george_he7@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "freeipa-users@redhat.com"
 <freeipa-users@redhat.com> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, June 29, 2012 9:51 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeipa-users] pam_systemd(sshd:session): Failed to create session<br> </font> </div> <br>
Hi,<br><br>I don't know if this is done by the default IPA install, but you need<br>to configure it to auto create home directories:<br><br>authconfig --update --enablemkhomedir<br><br>You may need the oddjob-mkhomedir package installed too.<br><br>Thanks,<br><br>Dan<br><br>On Fri, Jun 29, 2012 at 9:42 AM, george he <<a ymailto="mailto:george_he7@yahoo.com" href="mailto:george_he7@yahoo.com">george_he7@yahoo.com</a>> wrote:<br>> Hello all,<br>><br>> I'm running out of time to figure out what was wrong with my replica set up,<br>> so I just went ahead and installed ipa-client on that machine.<br>> It seems the client was installed all right, except when I ssh to the new<br>> client from another client, I get this:<br>><br>> Could not chdir to home directory /home/ghe: No such file or directory<br>><br>> and then I was left at /. I don't remember what I did differently on the<br>> other client machines that would
 create /home/ghe for me the first time I<br>> log on.<br>><br>> Here is the error message from /var/log/secure on the new client.<br>><br>> pam_systemd(sshd:session): Failed to create session: No such file or<br>> directory<br>><br>> How do I fix this problem?<br>><br>> Thanks,<br>> George<br>><br>> _______________________________________________<br>> Freeipa-users mailing list<br>> <a ymailto="mailto:Freeipa-users@redhat.com" href="mailto:Freeipa-users@redhat.com">Freeipa-users@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/freeipa-users" target="_blank">https://www.redhat.com/mailman/listinfo/freeipa-users</a><br><br><br> </div> </div> </blockquote></div>   </div></body></html>