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]] [-o] [-p passwd]
               [-s shell] [-u uid] login

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

   -D
       useradd

       useradd

       -c comment

       -d home_dir
               home_dir
               login default_home

       -e expire_date

               YYYY-MM-DD

       -f inactive_days

              0

              -1  -1

       -g initial_group
               ID

               ID
               ID  1
               /etc/default/useradd

       -G group,[...]
               (supplementary groups)

               -g

       -m      -k  skeleton_dir
               /etc/skel

              skeleton_dir  /etc/skel

              -k -m

       -o      () UID

       -p passwd
              crypt(3)

       -s shell

       -u uid  ID -o

               999  ID

              0  999

   -D
       useradd

       -b default_home

               -d default_home

       -e default_expire_date

       -f default_inactive

       -g default_group
               ID

               ID

       -s default_shell

       useradd

/etc/skel

NIS

        NIS

/etc/passwd -
       /etc/shadow -
       /etc/group  -
       /etc/default/useradd -
       /etc/skel/  -

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

Julianne Frances Haugh (jockgrrl@ix.netcom.com)

                                                                    USERADD(8)