EPrints 2.2 Documentation - create_user command



NAME

create_user - add a new user to an EPrint archive


SYNOPSIS

create_user archiveid [options] username email usertype [password]


DESCRIPTION

Create a new user to an eprint archive.

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


ARGUMENTS

archiveid
The ID of the EPrint archive 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 archive status.

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

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.

archiveid
The ID of the EPrint archive 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.


AUTHOR

This is part of this EPrints 2 system. EPrints 2 is developed by Christopher Gutteridge.


VERSION

EPrints Version: 2.2.1


CONTACT

For more information goto http://www.eprints.org/ which give information on mailing lists and the like.

Chris Gutteridge may be contacted at support@eprints.org

Should you need a real world address for some reason, EPrints can be contacted in the real world at

 EPrints c/o Christopher Gutteridge
 Department of Electronics and Computer Science
 University of Southampton
 SO17 1BJ
 United Kingdom


COPYRIGHT

This file is part of EPrints 2.

Copyright (c) 2000,2001,2002 University of Southampton, UK. SO17 1BJ.

EPrints 2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

EPrints 2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with EPrints 2; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

 EPrints 2.2 Documentation - create_user command