I have a sparse root zone called - serv1-cadt02 and its global server is serv1. I created a user called bfdeploy on serv1-cad02, but it is not allowing to login. It is complaining for No home directory defined.
PHP Code:
root@serv1-cadt02:/# su - bfdeploy
su: No directory!
root@serv1-cadt02:/# cat /etc/passwd | grep -i bfdeploy
bfdeploy:x:22308:22308:Build Farm Deployment User:/cad/envs/bfdeploy:/usr/bin/ksh
root@serv1-cadt02:/# ls -ld /cad/envs/bfdeploy
drwxr-xr-x 2 bfdeploy bfdeploy 6 Sep 20 10:33 /cad/envs/bfdeploy
root@serv1-cadt02:/# df -h /cad/envs/bfdeploy
Filesystem size used avail capacity Mounted on
/cad/envs 9.0G 40K 9.0G 1% /cad/envs
If I login to serv1-cadt02 with bfdeploy directly, then it is able to login, but it gives error -
PHP Code:
Could not chdir to home directory /cad/envs/bfdeploy: Permission denied
I have a software installation pending on this this directory, but struck due to this problem. I tried re-creating user and removing home directory and mkdir again, still no luck.
Please help.