I installed the server and client (with --mkhomedir) without issues. I created a user and tried to ssh and got this error creating directory
ssh user1@ipaclient1.int.example.com Password:
Could not chdir to home directory /home/user1: Permission denied -sh: /home/user1/.profile: Permission denied -sh-4.2$
Any idea what the problem could be here?
Hey Wanderley,
Is there any chance that you had a local user on the client machine with a UID different than the one provided by FreeIPA? If yes, try to remove the local user and change the ownership of the home directory.
Cheers,
-- Givaldo Lins givaldolins@gmail.com mailto:givaldolins@gmail.com Linux System Administrator RHC{SA,E,SA-RHOS,VA,JA,I,X,A} - 130-123-904 https://www.redhat.com/wapps/training/certification/verify.html?certNumber=130-123-904&isSearch=False&verify=Verify Skype: givaldolins +1 (604) 366-5482 GPG Fingerprint: A81A 14CC FA18 4273 9CC6 8945 BEDA 981C 9C4E 388A
On Sep 16, 2017, at 3:45 PM, Wanderley Teixeira via FreeIPA-users freeipa-users@lists.fedorahosted.org wrote:
I installed the server and client (with --mkhomedir) without issues. I created a user and tried to ssh and got this error creating directory
ssh user1@ipaclient1.int.example.com mailto:user1@ipaclient1.int.example.com Password:
Could not chdir to home directory /home/user1: Permission denied -sh: /home/user1/.profile: Permission denied -sh-4.2$
Any idea what the problem could be here? _______________________________________________ FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org
If you are mounting the file system with kerberos, mkhomedir wont’ work. I have a Kerberized mkhomedir if that’s your issue.
On Sep 16, 2017, at 6:45 PM, Wanderley Teixeira via FreeIPA-users <freeipa-users@lists.fedorahosted.orgmailto:freeipa-users@lists.fedorahosted.org> wrote:
I installed the server and client (with --mkhomedir) without issues. I created a user and tried to ssh and got this error creating directory
ssh user1@ipaclient1.int.example.commailto:user1@ipaclient1.int.example.com Password:
Could not chdir to home directory /home/user1: Permission denied -sh: /home/user1/.profile: Permission denied -sh-4.2$
Any idea what the problem could be here? _______________________________________________ FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.orgmailto:freeipa-users@lists.fedorahosted.org To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.orgmailto:freeipa-users-leave@lists.fedorahosted.org
freeipa-users@lists.fedorahosted.org