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

Page Comments (Click to edit)






[Click to add or edit comments])

Please prepend comments below including a date

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Have a nice day.