[CentOS] kickstart and logins.def question
Kwan Lowe
kwan.lowe at gmail.com
Sun Jan 3 00:26:55 UTC 2010
On Sat, Jan 2, 2010 at 11:07 AM, Jay Leafey <jay.leafey at mindless.com> wrote:
>> Anyone can shed light on why it does not auto-create the home
>> directories on initial boot?
>
> I think the issue here is that the change has to be made in both the
> authconfig file and in the /etc/pam.s/system-auth file. Just changing
> /etc/sysconfig/authconfig does not do it. You could use something like the
> following in your kickstart file instead of all the sed commands:
>
> /usr/sbin/authconfig --enablemkhomedir --enablelocauthorize \
> --enablepamaccess --update
>
Ahhh.. that looks like it. I was looking through the kickstart docs
but there's no mention of enablemkhomedir or enablepamaccess.. Thanks
so much.. Will try it shortly.
More information about the CentOS
mailing list