I have searched google, these threads and read the useradd man page, but I am still having issues with creating a user and getting their home directory created at the same time.
This is on Solaris 10 64 bit SPARC.
Command I am running as root
useradd -m -d /home/user001 -s /bin/bash user001
I am getting this error
UX: useradd: ERROR: unable to create the home directory: Operation not applicable
I tried making the /home directory write-able as its currently only readable, but that did not work either, and gave the following error
chmod: WARNING: can't change /home
I am in no way a Solaris expert, but I am fairly competent in CentOS and Fedora... where the useradd command has worked for me in the past.