freeipa-password-reset icon indicating copy to clipboard operation
freeipa-password-reset copied to clipboard

cannot create home directory for user getting permission denied

Open gopigl opened this issue 3 years ago • 1 comments

I have followed the all steps after installing of IPAServer not able to create home directory for user, can any one help me on this.

sudo mkdir $(ipa -n user-show "ipa-test-user" --raw |grep 'homedirectory' |awk -F':' '{print $2}') mkdir: cannot create directory ‘/home/ipa-test-user’: Permission denied

Thanks In Advance.

Regards, Gopi V

gopigl avatar Aug 14 '21 21:08 gopigl

Hi @gopigl , you should be a root user to create a directory in the IPA server. SSH as root user and try running the mkdir command again.

Yukesh4791 avatar Dec 16 '21 09:12 Yukesh4791