Mailinglist Archive: opensuse-buildservice (93 mails)

< Previous Next >
[opensuse-buildservice] How to change a user's password in private OBS installation?
Hi all,

how do I - as admin - change a user's password in a private OBS
installation, e.g. with the builtin user management?
In previous versions something like
----
RAILS_ENV="production" /usr/bin/rails.ruby2.5-5.1.4 console
user = User.where(:login => '<loginname>').first
user.password = "<password>"
user.password_confirmation = "<password>"
user.save
----
worked. Now this still succeeds (no error messages), but the user cannot
login with the new password.

How can I change the password?


Thank you very much,

Stefan
--
Stefan Botter zu Hause
Bremen
< Previous Next >
This Thread