Mailinglist Archive: opensuse-buildservice (88 mails)

< Previous Next >
Re: [opensuse-buildservice] obs.own.instance/users
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Thu, 27 Feb 2020 10:33:10 +0100
  • Message-id: <2479163.X9hSmTKtgW@linux-ywca>
On Donnerstag, 27. Februar 2020, 10:26:42 CET Christian wrote:
Am 27.02.20 um 07:26 schrieb Adrian Schröter:
On Mittwoch, 26. Februar 2020, 22:12:46 CET wrote Christian:

how to get rid of deleted users ?
when you delete users they are still there, just flaged as 'deleted'
How to completly remove them ?

you would need to do it on rails console or in the database.

Please note that you may create serious issues, including
security issues when infrastructure trusts in the name.
Suddenly a different person could take over actions...

Also you don't know anymore who was a certain action in
log files...

We do therefore only remove all personal user data, but
keep the account name and disable it. It won't be listed
either anymore.

Hello Adrian,

I understand your concerns, but I want to get rid of users that did a
registration obviously via robots ...
There should be only users I create ... no self registration
There should not be any 'anonymous' registrations anyway ... so I
changed configuration to:


hope this is enough

now I want to get rid of those unwanted users on my system.
How can I achieve that exactly ?

in rails console:

u = User.find_by_login "$login"


Adrian Schroeter <adrian@xxxxxxx>
Build Infrastructure Project Manager

SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
(HRB 247165, AG München), Geschäftsführer: Felix Imendörffer

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups