On 8/17/19 10:05 PM, Selman Keskin via FreeIPA-users wrote:
Any idea?
Sent from Mail <
https://go.microsoft.com/fwlink/?LinkId=550986> for
Windows 10
_______________________________________________
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...
Hi,
we need a little more information in order to help you. When is this
issue happening? I assume you are trying to connect to an IPA client
either using ssh or console login.
First check what is defined as homedir for the user on an IPA server
# kinit admin
# ipa user-show <userlogin> | grep 'Home directory'
/home/<userlogin>
Then on the machine where you got the error 'Could not chdir', check the
directory permissions:
# ls -ld /home/<userlogin>
The directory needs to belong to the user and have the right permissions
(drwx------).
By default, the home directory of every user is computed from
<HomeDirectoryBase>/<userlogin>
and the HomeDirectoryBase can be found with:
# ipa config-show | grep 'Home directory base'
Home directory base: /home
If you want to modify the Home Directory Base, you can use
# ipa config-mod --homedirectory=<newval>
Note that the new setting will be applied to users created after this
command and will not modify existing users' home directory.
If you want to modify the home directory for a specific user, you can use
# ipa user-mod <userlogin> --homedir=<newval>.
HTH,
flo