How to add a user from the command line
Adding the user foobar.
$ sudo useradd --home-dir /home/foobar -m --shell /bin/bash foobar
$ sudo passwd foobar
$ sudo passwd foobar
[Click to add or edit comments])
Please prepend comments below including a date