[opensuse-buildservice] obs.own.instance/users

Hi how to get rid of deleted users ? when you delete users they are still there, just flaged as 'deleted' How to completly remove them ? Thank you -- Christian ------------------------------------------------------------ https://join.worldcommunitygrid.org?recruiterId=177038 ------------------------------------------------------------ http://www.sc24.de - Sportbekleidung ------------------------------------------------------------

On Mittwoch, 26. Februar 2020, 22:12:46 CET wrote Christian:
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. -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Am 27.02.20 um 07:26 schrieb Adrian Schröter:
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: <anonymous>off</anonymous> <registration>deny</registration> hope this is enough now I want to get rid of those unwanted users on my system. How can I achieve that exactly ? Thank you for your help. -- Christian ------------------------------------------------------------ https://join.worldcommunitygrid.org?recruiterId=177038 ------------------------------------------------------------ http://www.sc24.de - Sportbekleidung ------------------------------------------------------------

On Donnerstag, 27. Februar 2020, 10:26:42 CET Christian wrote:
in rails console: u = User.find_by_login "$login" u.destroy -- Adrian Schroeter <adrian@suse.de> 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Am 27.02.20 um 10:33 schrieb Adrian Schröter:
s01-obs:/srv/obs # rails console -bash: rails: Kommando nicht gefunden. s01-obs:/srv/obs # which rails which: no rails in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin) sorry I have no knowledge about ruby :-( -- Christian ------------------------------------------------------------ https://join.worldcommunitygrid.org?recruiterId=177038 ------------------------------------------------------------ http://www.sc24.de - Sportbekleidung ------------------------------------------------------------
participants (2)
-
Adrian Schröter
-
Christian