To regularily rotate the logs, copy xcauth.logrotate to
/etc/logrotate.d/xcauth.
make install already does this for you.
If you want to enable shared roster groups support for ejabberd.
- Copy
xcauth.sudoas/etc/sudoers.d/xcauth, - Copy
xcejabberd.shas/usr/sbin/xcejabberdctl - Remove the
#in theejabberdctl=/usr/sbin/xcejabberdctlline of/etc/xcauth.conf - If your
ejabberdctldoes not live in/usr/sbin, please create a symlink from/usr/sbin/ejabberdctl.
make install already does the first two steps for you.
Restarts the sockets and services for systemd. The service does
not need to be explicitely started, it will be on the first connection
to one of the sockets. It also fixes the permissions of the database
and log files, if xcauth was first manually started as root and
created the files with the wrong permissions.
make install installs this as /usr/bin/xcrestart
This will cause the roster groups to be rebuilt on the next login of one of their users. Necessary when the XMPP server's state differs from the cache, e.g., because of manual modifications or due to an error in synchronization, as it happened e.g. in v2.0.2.
make install installs this as /usr/bin/xcrefreshroster
This will delete most of a user's entries from the database. Not purged are group memberships, as they will be auto-updated on the next login of another member of that group (and cannot easily be dealt with using SQL statements). To make sure it will not reappear, you also have to delete it from Nextcloud.
make install installs this as /usr/bin/xcdeluser
This will delete a particular group from the cache. To make sure it will not reappear, you also have to delete it from Nextcloud.
make install installs this as /usr/bin/xcdelgroup
This will delete all entries relating to a host from xcauth.
ejabberd maitains its own storage.
make install installs this as /usr/bin/xcdelhost
These are the sample configuration files from our Debian and/or Raspberry Pi setup.
make install installs them in /etc/ejabberd as *-xcauth-example.