Well I think that you will have to start with the basics. Well useradd or adduser is the command that is used to create a new user or update default new user information. The syntax for the useradd is as follows:
Code:
useradd [-c comment] [-d home_dir]
and
Code:
useradd -D [-g default_group] [-b default_home]
. When the useradd command is brought into play without the -D option, then it produces a new user account by making use of the values that are mentioned on the command line and the default values from the system. Also the home directory will be formed, and preliminary files will be copied, depending on the command line options. I would suggest you to see if you have given the options clearly.
Bookmarks