useradd in linux

hi..

i want to know when we add a new user by useradd command in linux "ram" in the system then bydefault " ram "
name directory will create inside /home/ram . why..??
i want to know behind this logic .

please help me.

It depends upon the configuration given in file /etc/default/useradd (in linux).
You need to change the "HOME" value in this file to get the default home directory of the user when using useradd command.

Regards
Ramkumar