diff --git a/modules/howtos/pages/pagure_spam.adoc b/modules/howtos/pages/pagure_spam.adoc new file mode 100644 index 0000000..aabd11c --- /dev/null +++ b/modules/howtos/pages/pagure_spam.adoc @@ -0,0 +1,40 @@ += How to deal with spam posts on pagure + +When an ticket is raised for a spam user on the Fedora infra tracker take the +following actions. + +== Clear the spam +Click on the user in pagure and check their activity for all comments they have +made. Remove all these comments unless otherwise advised. + +== Ban the user in pagure + +ssh to pagure02.fedoraproject.org. As root user run the following command: + +---- +pagure-admin block-user +---- + +For example: + +---- +pagure-admin block-user spamuser 2060-01-01 +---- + +== Disable user in IPA + +=== Frontend + +. Login to the [ipa server](https://id.fedoraproject.org/ipa/ui) and search the users name. +. Click on the user. +. In the Actions dropdown menu click disable + + +=== Command line + +. ssh to ipa01.iad2.fedoraproject.org +. run `ipa user-disable ` + + + + diff --git a/modules/sysadmin_guide/pages/index.adoc b/modules/sysadmin_guide/pages/index.adoc index e708245..9c35053 100644 --- a/modules/sysadmin_guide/pages/index.adoc +++ b/modules/sysadmin_guide/pages/index.adoc @@ -211,6 +211,7 @@ In this section is list of guides for common tasks that are done in Fedora Infra * xref:howtos:delete_mailman_thread.adoc[How to delete a thread in mailman] * xref:howtos:destroy_a_virt_instance.adoc[How to destroy a virt instance] * xref:howtos:discourse_spam.adoc[How to deal with spam posts on discourse] +* xref:howtos:pagure_spam.adoc[How to deal with spam posts on pagure] * xref:howtos:fedora_messaging_certificates.adoc[How to create TLS certificates for fedora-messaging] * xref:howtos:fix_robosignatory.adoc[How to check/fix robosignatory] * xref:howtos:free_space_in_openshift.adoc[How to free some space in OpenShift]