user

vb user SUBCOMMAND [OPTIONS]

Description

Run various subcommands on users of the open repository or of the repository identified by the -R or –repository option.

Options

-R, --repository REPO

Use repository REPO instead of the default

Subcommands

vb user capabilities

vb user capabilities USERNAME [STRING]

Description

Query or set the capabilities for user USERNAME

vb user contact

vb user contact USERNAME [CONTACT-INFO]

Description

Query or set contact information for user USERNAME

vb user default

vb user default [OPTIONS] [USERNAME]

Description

Query or set the default user. The default user is the user for command-line interaction. If USERNAME is an empty string, then the default user is unset from the repository and will subsequently be determined by the -U command-line option or by environment variables FOSSIL_USER, USER, LOGNAME, or USERNAME, in that order.

Option:

-v|–verbose Show how the default user is computed

vb user list (ls)

vb user list|ls

Description

List all users known to the repository

vb user new

vb user new [USERNAME] [CONTACT-INFO] [PASSWORD]

Description

Create a new user in the repository. Users can never be deleted. They can be denied all access but they must continue to exist in the database.

vb user password

vb user password USERNAME [PASSWORD]

Description

Change the web access password for a user.

Examples

  • List users

$ vb user list
anonymous    Anon
developer    Dev
nobody       Nobody
reader       Reader
ubuntu
  • Create a user

$ vb user new dev 12345678901 devpass
  • Set user contact info

$ vb user contact dev "dev@example.com"
dev@example.com
  • Update user capabilities

$ vb user capabilities dev gio
gio