[Freeipa-devel] Re: network accounts logins but never make a local user folder on Fedora 9 when the option to do that is set

Jaakan Shorter jaakanshorter at gmail.com
Wed May 21 15:16:58 UTC 2008


I changed home back with chmod --reference=lib home
remove all test user home folder

vim /etc/pam.d/system-auth
+ session     required      pam_mkhomedir.so skel=/etc/skel/ umask=0000


And it works

is umask=0000 safe?
umask=0022 and umask=0077 didn't work btw...


On Tue, May 20, 2008 at 5:30 PM, Simo Sorce <ssorce at redhat.com> wrote:
> On Tue, 2008-05-20 at 17:08 -0400, Jaakan Shorter wrote:
>> I got it working with a clean install of fedora 9 as a client
>>
>> first I did
>>
>> # kinit admin
>> # ipa-addservice host/desktop.test.net --force
>> # ipa-getkeytab -s ipaserver.test.net -p host/desktop.test.net -k
>> /etc/krb5.keytab
>>
>> then
>> I made "jshorter" in the WebGUI
>>
>> # kinit jshorter
>> made new password
>>
>> logged in to desktop.test.net ( login hangs )
>> did Ctrl+Alt+backspace
>> logged in as root
>> # cd /home
>> # mkdir jshorter
>> # chmod -R 777 jshorter
>>
>> I logged in again and now I'm too a working desktop
>>
>> I'll change the owner and rights later
>>
>> jaakan
>
> You may want to experiment with pam_mkhomedir instead
>
> Simo.
>
> --
> Simo Sorce * Red Hat, Inc * New York
>
>




More information about the Freeipa-devel mailing list