OS module: Create user

Creates a new user.

Example

Creates a new regular user:

space -m os /createuser/ -- "janitor"

Creates a new user providing a ssh public key:

space -m os /createuser/ -- "janitor" "/tmp/janitor.pub"

Exit status code is expected to be 0 on success.

Edit this page