Adding users

 Notes from Bruce Fulton's assignments for IRLS 672 (U of Arizona)
  • First, you will need to add the user to her default group:
 $ sudo groupadd jausten

  • Then, you will need to add the user as a user, specifying her default group (g), any other groups you want her to be a part of (G), and what her home directory will be (m)
 $ sudo useradd -g jausten -G users -m jausten

  • Finally, you will need to give her a password
$ sudo passwd jausten