Provided by: passwd_4.1.4.2-1ubuntu3_i386 bug

useradd -

       useradd [-c comment] [-d home_dir]
               [-e expire_date] [-f inactive_time]
               [-g initial_group] [-G group[,...]]
               [-m [-k skeleton_dir] | -M] [-s shell]
               [-u uid [ -o]] [-n] [-r] login

       useradd -D [-g default_group] [-b default_home]
               [-f default_inactive] [-e default_expire_date]
               [-s default_shell]

      -D   , useradd
              and          .

                          Red Hat Linux
                        group ,     -n

       useradd

       -c comment
                 password

       -d home_dir
                          home_dir
                  default_home  login

       -e expire_date
                             MM/DD/YY

       -f inactive_days

                 0
                  -1             -1

       -g initial_group
              group                   (group)

                      1

       -G group,[...]
                        groups
                    ","
                   -g

       -m
                 -k   skeleton_dir

                 /etc/skel
                 skeleton_dir or /etc/skel

              The -k  -m

       -M                /etc/login.defs

       -n

       -r                       UID
                 /etc/login.defs.
               UID_MIN       useradd

                       /etc/login.defs.
                              -m

                RED HAT

       -s shell
                       shell
                                   shell

       -u uid     ID         ID      -o
                             999 0~ 999

    -D       useradd
       -b default_home

                       default_home

                  -d

       -e default_expire_date

       -f default_inactive

       -g default_group
                       ID

                I D

       -s default_shell
                       shell
                           shell.

                useradd

         /etc/skel
          seradd  Red Hat

        NIS
           NIS

/etc/passwd -
       /etc/shadow -
       /etc/group -
       /etc/default/useradd -
       /etc/login.defs -
       /etc/skel -

SEE ALSO

       chfn(1),  chsh(1),  groupadd(8),  groupdel(8),  groupmod(8), passwd(1),
       userdel(8), usermod(8)

AUTHOR

       Julianne Frances Haugh (jfh@tab.com)

                                                                    USERADD(8)