Creating a new user on Ubuntu server is easy—just sudo your shell to root, or run the following command:

        adduser username
    

This will create the user, with output something like this:

        root@ubuntugeek910:~# adduser testuser
Adding user `testuser' ...
Adding new group `testuser' (1001) ...
Adding new user `testuser' (1001) with group `testuser' ...
Creating home directory `/home/testuser' ...
Copying files from `/etc/skel' ...

You can see all the options by typing

        adduser --help
    

at the prompt.

        <pre>adduser [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID][--firstuid ID] [--lastuid ID] [--gecos GECOS] [--ingroup GROUP | --gid ID][--disabled-password] [--disabled-login] [--encrypt-home] USER Add a normal useradduser --system [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID][--gecos GECOS] [--group | --ingroup GROUP | --gid ID] [--disabled-password][--disabled-login] USER Add a system useradduser --group [--gid ID] GROUPaddgroup [--gid ID] GROUP Add a user groupaddgroup --system [--gid ID] GROUP Add a system groupadduser USER GROUP Add an existing user to an existing groupgeneral options: --quiet | -q don't give process information to stdout --force-badname allow usernames which do not match the NAME_REGEX[_SYSTEM] configuration variable --help | -h usage message --version | -v version number and copyright --conf | -c FILE use FILE as configuration file</pre>
    

So there you have it. Creating a new user is easy.