[Pkg-owncloud-commits] [owncloud-doc] 19/110: Add page howto reset passwords with occ

David Prévot taffit at moszumanska.debian.org
Fri Feb 6 21:10:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud-doc.

commit c8bb646e8d1bbb28dd2fa6fb2f7875f69483a24b
Author: Carla Schroder <carla at owncloud.com>
Date:   Tue Dec 16 16:33:11 2014 -0800

    Add page howto reset passwords with occ
---
 .../configuration/reset_admin_password.rst         | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/admin_manual/configuration/reset_admin_password.rst b/admin_manual/configuration/reset_admin_password.rst
new file mode 100644
index 0000000..cebab9c
--- /dev/null
+++ b/admin_manual/configuration/reset_admin_password.rst
@@ -0,0 +1,33 @@
+==============================
+Recovering Lost Admin Password
+==============================
+
+The normal ways to recover a lost password are:
+
+1. Click the password reset link on the login screen; this appears after a 
+   failed login attempt. This works only if you have entered your email address 
+   on your Personal page in the ownCloud Web interface, so that the ownCloud 
+   server can email a reset link to you.
+
+2. Ask your ownCloud 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 
+user passwords, ``user:resetpassword``. It is best to run ``occ`` as the HTTP 
+user, as in this example::
+
+ $ sudo -u www-data /var/www/owncloud/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 
+username.
+
+You can find your HTTP user in your HTTP configuration file. These are the 
+default Apache HTTP user:group on Linux distros:
+
+* Centos, Red Hat, Fedora: apache:apache
+* Debian, Ubuntu, Linux Mint: www-data:www-data
+* openSUSE: wwwrun:www

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git



More information about the Pkg-owncloud-commits mailing list