Update reset_admin_password.rst

Cahnged to nextcloud
This commit is contained in:
Joachim Sokolowski
2016-06-21 18:20:27 +02:00
committed by GitHub
parent 09c2ee406c
commit cb08ce64ed

View File

@@ -9,20 +9,20 @@ The normal ways to recover a lost password are:
on your Personal page in the ownCloud Web interface, so that the ownCloud
server can email a reset link to you.
2. Ask another ownCloud server admin to reset it for you.
2. Ask another Nextcloud server admin to reset it for you.
If neither of these is an option, then you have a third option, and that is
using the ``occ`` command. ``occ`` is in the ``owncloud`` directory, for
example ``/var/www/owncloud/occ``. ``occ`` has a command for resetting all
using the ``occ`` command. ``occ`` is in the ``nextcloud`` directory, for
example ``/var/www/nextcloud/occ``. ``occ`` has a command for resetting all
user passwords, ``user:resetpassword``. It is best to run ``occ`` as the HTTP
user, as in this example on Ubuntu Linux::
$ sudo -u www-data php /var/www/owncloud/occ user:resetpassword admin
$ sudo -u www-data php /var/www/nextcloud/occ user:resetpassword admin
Enter a new password:
Confirm the new password:
Successfully reset password for admin
If your ownCloud username is not ``admin``, then substitute your ownCloud
If your Nextcloud username is not ``admin``, then substitute your Nextcloud
username.
You can find your HTTP user in your HTTP configuration file. These are the