Skip to content

Commit

Permalink
Correct way to add a new sysadmin user
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielNicolasAvellaneda committed Sep 21, 2017
1 parent b8c1dba commit 6185375
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions doc/maintaining/getting-started.rst
Expand Up @@ -32,15 +32,19 @@ troubleshooting) see :doc:`paster`.
cd |virtualenv|/src/ckan
You have to create your first CKAN sysadmin user from the command line. For
example, to create a user called ``seanh`` and make him a sysadmin:
example, to create a new user called ``seanh`` and make him a sysadmin:

.. parsed-literal::
paster sysadmin add seanh -c |production.ini|
paster sysadmin add seanh email=seanh@localhost name=Seanh -c |production.ini|
You'll be prompted to enter a password during account creation.

Or, if you already have an existing user, you could promote him to a sysadmin:

If a user called ``seanh`` already exists he will be promoted to a sysadmin. If
the user account doesn't exist yet you'll be prompted to enter a password and
the account will be created.
.. parsed-literal::
paster sysadmin add seanh -c |production.ini|
For a list of other command line commands for managing sysadmins, run::

Expand Down

0 comments on commit 6185375

Please sign in to comment.