On 10/16/20 12:23 PM, anilkumar panditi via FreeIPA-users wrote:
Hi,
Thank you very much. i was able to enroll the host into ipa.
Now i have one more problem, when ever the LDAP user(s) logs in for the very first time
into the added host, its not creating the home directory like /home/user(s) .
How to create home directory like /home/user(s) for the very first time login . can you
help please
Hi,
if you haven't run ipa-client-install yet, you can append the option
--mkhomedir to ipa-client-install , as described in [1].
If the machine is already installed as an IPA client, it is possible to
enable home directory creation afterwards, with a difference procedure.
It depends on the packages installed on your IPA client: is authconfig
or authselect used?
You can run:
# grep authselect /var/lib/ipa-client/sysrestore/sysrestore.state
If the command does not return anything, it means authconfig is in use
and you need to run:
# authconfig --enablemkhomedir --update
If the grep command returns "[authselect]", it means authselect is in
use and you need to run:
# authselect enable-feature with-mkhomedir
as explained in [2].
Hope this helps,
flo
[1]
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/...
[2]
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/...
_______________________________________________
FreeIPA-users mailing list -- freeipa-users(a)lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave(a)lists.fedorahosted.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedoraho...