[opensuse-buildservice] Reset Admin password: OBS private build
Good Day Can anyone help with the how-to please. Kind Regards, Sean Fabian Chief Operating Officer Office +27126585182 | Mobile +27790155514 | Email sean.fabian@pfortner.co.za | Web www.pfortner.co.za
On Mittwoch, 24. Juni 2020, 15:43:24 CEST wrote Sean Fabian:
Good Day Can anyone help with the how-to please.
On the rails console cd /srv/www/obs/api/ RAILS_ENV="production" ./bin/rails c you can do admin = User.get_default_admin admin.update(password: "YOUR_NEW_PASSWORD") admin.save! (untested, more or less out of my head) -- 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
Hi Adrian
Thank you it worked, you can close this event
Kind Regards,
Sean Fabian
Chief Operating Officer
Office +27126585182 | Mobile +27790155514 | Email sean.fabian@pfortner.co.za | Web www.pfortner.co.za
EMAIL DISCLAIMER : https://www.pfortner.co.za/disclaimer/
-----Original Message-----
From: Adrian Schröter
Good Day Can anyone help with the how-to please.
On the rails console cd /srv/www/obs/api/ RAILS_ENV="production" ./bin/rails c you can do admin = User.get_default_admin admin.update(password: "YOUR_NEW_PASSWORD") admin.save! (untested, more or less out of my head) -- 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
participants (2)
-
Adrian Schröter
-
Sean Fabian