To add user on ubuntu we can use useradd command, which has some options. For example we want to create new user named “cooluser” with password “usercool”, and we want to make the home directory in /home/cooluser
[php]useradd cooluser -p usercool -m [/php]
this command will create new directory in /home/cooluser
to delete user use this command
[php]userdel cooluser[/php]
to observe other option just use man command
[php]man useradd[/php]