When trying to login you may receive the error "Could not chdir to home directory /home/testuser: No such file or directory". Home directory creation fails.
The home directory did not get created by the Authentication Services product due to a customization of the /opt/quest/libexec/vas/homedir-create.sh script. The script worked in previous versions. The reason it no longer works is because in previous versions the product asked for 5 attributes when calling the script. However in 4.0.3.238 uses 6, and the package script wants 6.
If the create_homedir flag is on the pam service module, the product will run the home directory creation script which by default is in /opt/quest/libexec/vas/ directory. In QAS 4.0.3.238 a client code change was made
RESOLUTION 1:
1 - Edit the /opt/quest/libexec/vas/homedir-create.sh
Change the line that says
ls /home
4 - Check to see if a home directory script is being pushed out through group policy
/opt/quest/bin/vgptool rsop
If yes compare it to the standard script which comes with the version you are running.
Please note: It is best practice to give a pushed out script another name instead of writing over the standard one. You would then set the homedir-creation-script path setting in the vas.conf file. For more information about this refer to the vas.conf man page.
© 2025 One Identity LLC. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center