I am trying to set up the environment in Solaris in order to install Oracle. I added a oinstall and dba groups:
# /usr/sbin/groupadd oinstall
# /usr/sbin/groupadd dba
then created the oracle user:
# /usr/sbin/useradd -g oinstall -G dba oracle
And I set the passwd for oracle as follows:
# passwd -f files oracle
But when I try to login as oracle, as follows:
su - oracle
I got an error "No directory".
Then I tried creating a directory /home/oracle (this was specified in /etc/passwd) using mkdir, but the command failed with "Operation not applicable".