EPrints 2.3 Documentation - create_user command

- NAME
- SYNOPSIS
- DESCRIPTION
- ARGUMENTS
- OPTIONS

# NAME

create_user - add a new user in an EPrint repository

# SYNOPSIS

create_user repository_id [options] username email usertype [password]

# DESCRIPTION

Create a new user in an eprint repository.

This is handy for making the initial admin user at the very least.

# ARGUMENTS

repository_id

  The ID of the EPrint repository to add a user to.

username

  The requested username for the new user. If a user with this name already exists then the script will abort with a error.

email

  The email address of the new user.

usertype

  The type of the new user. The type of a user sets how much they can do in the system. The default EPrints configuration provides 3 types of users:

user

  Normal everyday joe public users.

editor

  Editors may approve eprints for addition, browse the submission buffer, and check the repository status.

admin

  Administrators may do everything. That's probably what for yourself if you are the person setting up the repository.

password

  The initial password for this user. You don't have to specify it here if you don't want to. It will be encrypted, by EPrints, using UNIX crypt. This should not be a problem unless you are using a different method to authenticate users.

repository_id

  The ID of the EPrint repository to add a user to.

# OPTIONS

--help

  Print a brief help message and exit.

--man

  Print the full manual page and then exit.

--quiet

  Be vewwy vewwy quiet. This option will supress all output unless an error occurs.

--verbose

  Explain in detail what is going on. May be repeated for greater effect.

--version

  Output version information and exit.

EPrints 2.3 Documentation - create_user command