[Pkg-owncloud-commits] [owncloud-doc] 84/110: corrections to LDAP user cleanup. precious newlines.
David Prévot
taffit at moszumanska.debian.org
Fri Feb 6 21:10:38 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 e58394e0cd76ec2e5c67d57c026c1252f2bbd91b
Author: Carla Schroder <carla at owncloud.com>
Date: Wed Jan 21 15:08:24 2015 -0800
corrections to LDAP user cleanup. precious newlines.
---
.../configuration/user_auth_ldap_cleanup.rst | 32 +++++++++-------------
1 file changed, 13 insertions(+), 19 deletions(-)
diff --git a/admin_manual/configuration/user_auth_ldap_cleanup.rst b/admin_manual/configuration/user_auth_ldap_cleanup.rst
index 14a4889..bd820cf 100644
--- a/admin_manual/configuration/user_auth_ldap_cleanup.rst
+++ b/admin_manual/configuration/user_auth_ldap_cleanup.rst
@@ -33,19 +33,23 @@ users and your ``ldapUserCleanupInterval`` is 20 minutes, the process will
examine the first 50 users, then 20 minutes later the next 50 users, and 20
minutes later the next 50, and so on.
-You have two commands to use:
+This is done with the ``occ`` command, which must be run as your HTTP user. The
+``occ`` command is in your ownCloud directory, for example
+``/var/www/owncloud/occ``. To learn more about ``occ``, see :doc:`occ_command`.
-1. ``occ ldap:show-remnants`` displays a table with all users that have been
- marked as deleted, and their LDAP data.
+There are two commands to use. These examples are for Ubuntu Linux:
-2. ``occ user:delete [user]`` removes the user's data from the ownCloud data directory.
+1. ``sudo -u www-data occ ldap:show-remnants`` displays a table with all users
+ that have been marked as deleted, and their LDAP data.
-The ``occ`` command is in your ownCloud directory, for example
-``/var/www/owncloud/occ``. This example shows what the table of users marked as
+2. ``sudo -u www-data occ user:delete [user]`` removes the user's data from the
+ ownCloud data directory.
+
+ This example shows what the table of users marked as
``deleted`` looks like, and it assumes you have changed to the directory that
``occ`` is in::
- # ./occ ldap:show-remnants
+ $ sudo -u www-data ldap:show-remnants
+-----------------+-----------------+------------------+--------------------------------------+
| ownCloud name | Display Name | LDAP UID | LDAP DN |
+-----------------+-----------------+------------------+--------------------------------------+
@@ -55,21 +59,11 @@ The ``occ`` command is in your ownCloud directory, for example
| aaliyah_kunze | aaliyah kunze | aaliyah_kunze | uid=aaliyah_kunze,ou=people,dc=com |
+-----------------+-----------------+------------------+--------------------------------------+
-Then you can run ``occ user:delete aaliyah_brown`` to delete user
-aaliyah_brown. You must use the ownCloud name.
+Then you can run ``sudo -u www-data occ user:delete aaliyah_brown`` to delete
+user aaliyah_brown. You must use the ownCloud name.
Deleting Local ownCloud Users
-----------------------------
You may also use ``occ user:delete [user]`` to remove a local ownCloud user;
this removes their user account and their data.
-
-Using the occ Command
----------------------
-
-To learn more about ``occ``, see :doc:`occ_command`.
-
-
-
-
-
--
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