[Freeipa-users] pam_systemd(sshd:session): Failed to create session

Dan Scott danieljamesscott at gmail.com
Fri Jun 29 13:51:16 UTC 2012


Hi,

I don't know if this is done by the default IPA install, but you need
to configure it to auto create home directories:

authconfig --update --enablemkhomedir

You may need the oddjob-mkhomedir package installed too.

Thanks,

Dan

On Fri, Jun 29, 2012 at 9:42 AM, george he <george_he7 at yahoo.com> wrote:
> Hello all,
>
> I'm running out of time to figure out what was wrong with my replica set up,
> so I just went ahead and installed ipa-client on that machine.
> It seems the client was installed all right, except when I ssh to the new
> client from another client, I get this:
>
> Could not chdir to home directory /home/ghe: No such file or directory
>
> and then I was left at /. I don't remember what I did differently on the
> other client machines that would create /home/ghe for me the first time I
> log on.
>
> Here is the error message from /var/log/secure on the new client.
>
> pam_systemd(sshd:session): Failed to create session: No such file or
> directory
>
> How do I fix this problem?
>
> Thanks,
> George
>
> _______________________________________________
> Freeipa-users mailing list
> Freeipa-users at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-users




More information about the Freeipa-users mailing list