Is there any file in which I can check my users' home directory? By the way, some of my files are having an ID as an owner instead as a user name, is there any way to solve this?
The usual location is /home/username but it can be anything. find / -type d -name username should help locating them.
About the numeric file userids, that likely means you recreated oradevx and appldevx accounts with a wrong (i.e. different) user id. You can simply fix the /etc/passwd and /etc/shadow files.
When you created the two users, did you actually specify their UIDs as they had before with the -u switch (useradd -u UID)? Otherwise, this is going to cause permission issues as the system identifies a user by its UID, not by it's logon name. You have to change the permission of the home directory and the subsequent file/dirs like this:
I wouldn't suggest that. There is no guarantee all files under that directory belongs to oradevx, nor that no files outside that directory belong to the same user. It is much better to fix the uid in the passwd and shadow files.
---------- Post updated at 01:16 ---------- Previous update was at 00:59 ----------
That's indeed an usual place where the home directories are stored. However, the best practice is still to follow the Unix tradition to have home directories accessed with /home/username. On Solaris, /home is by default handled by automountd which is used to map /home entries to their physical location when properly configured.
The find command with option -nouser is very useful for finding all the files and directories where the UID does not appear in /etc/passwd.
Similarly find with -user set to a numeric UID to find all files and directories for a particular UID whether or not it appears in /etc/passwd.
Obviously use the usermod command to adjust UIDs in /etc/passwd (NOT vipw or whatever). Always copy the /etc/passwd and /etc/shadow files before making any changes like this.