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

2012-06-29 Thread Dan Scott
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_...@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@redhat.com
 https://www.redhat.com/mailman/listinfo/freeipa-users

___
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users


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

2012-06-29 Thread george he
Hello Dan,
Many thanks. It worked.

Now I remember this was done by default on my other clients... don't know why.
George




 From: Dan Scott danieljamessc...@gmail.com
To: george he george_...@yahoo.com 
Cc: freeipa-users@redhat.com freeipa-users@redhat.com 
Sent: Friday, June 29, 2012 9:51 AM
Subject: Re: [Freeipa-users] pam_systemd(sshd:session): Failed to create 
session
 
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_...@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@redhat.com
 https://www.redhat.com/mailman/listinfo/freeipa-users


___
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users