A
twanager command that adds a user to the
store, creating the user, setting their password and optionally setting their roles. If
adduser is used again on the same username, the existing user is clobbered. To update an existing user use
addrole and
userpass.
Syntax
twanager adduser <username> <password> [[role] [role] ...]
Example
Create the user monkey with password oog, and roles tail and fruit.
twanager adduser monkey oog tail fruit