# Create New User with Temporary Password on Linux

1. Create new user and home directory

-m option is used to create the user’s home directory if it does not exist.

If you want to specify the path of the home directory, use -d and specify the path:

1. Set temporary password for new user
-d option is used to set the number of days since January 1st, 1970 when the password was last changed.
More details of commands and their options can be checked by man command, like using
to check all of information of chage command.