pam_mkhomedir

Radu Brumariu brum76 at gmail.com
Fri Apr 22 15:01:07 UTC 2005


Lars Elner wrote:

> The line "session required  pam_mkhomedir.so skel=/etc/skel/
> umask=0022" when put in "/etc/pam.d/system-auth" works as expected,
> creating a new homedir the first time user on my clients.
>
> But the lines
> # This file is auto-generated.
> # User changes will be destroyed the next time authconfig is run.
> in the same file puts me down.
>
> Is there another file to put the magical line into ?
>

    Why would you want to run authconfig , yet again? Setup your
authentication , make the pam changes you want and leave it at that.
Later on, if you want to change from NIS to LDAP ( let's say ) remember
to add your pam_mkhomedir line.

Radu

> regads,
> Lasse
>
>


-- 
"Stat rosa pristina nomine, nomina nuda tenemus"




More information about the redhat-list mailing list