Remove Duo User

Problem to solve

I attempted to find documentation or an existing forum post about this, but did not see one. Apologies if I simply missed it.

I have a self-hosted GitLab instance with the free-tier license. I understand that it does not come with Duo licensing. I do not have a use case for Duo.

I have tried to remove the Duo account in my instance, and have been briefly successful. However, the account gets automatically recreated.

How do I permanently remove this account?

Steps to reproduce

  • Documentation explains how to disable Duo features in higher tiers of licensing, but these configurations do not exist at the free license tier level.
  • Removed account directly in the psql database (I understand that this is not recommended and performed at my own risk)
  • Account was recreated automatically

Configuration

Versions

  • Self-managed 18.3

Hi,

You cannot. It’s a bot account just like the Gitlab Alert Bot and Gitlab Support Bot account. Best is to just leave it since you have no control over whether it exists or not. It also doesn’t use a license, because it’s a bot account. So nothing to worry about.

I see.

Thank you for the prompt clarification. I will look for an alternative to GitLab in this case.

You have to set a cronjob to run a script that deletes the accounts. I wrote a PHP script that does that every minute. So if the script finds those 3 bot accounts, it’ll delete them for me and re-increment the tables. You need to do this for the users table, routes table, namespaces table, and the uploads table.