[opensuse-buildservice] Password Reset (Own instance)
The TL;DR version: When LDAP isn't being used, what is the suggested/preferred way to reset a user password in an OBS instance? The longer version: I've had an OBS instance for a number of years now, and it has relatively few users. It's setup so the passwords are stored in the database used by OBS. I am not using LDAP, or any other mechanism at this point in time. After upgrading from 2.2 to 2.4, I discovered that I am no longer able to log into the API vhost (for the sake of argument, I'll call it obsapi.default.domain). With version 2.2, I could simply login to the API vhost as an admin, and use its user management to reset a password for a user. Now that I've upgraded to 2.4, I am no longer able to login to the API vhost in a useful way. I still receive the login dialog, and can login... however instead of being taken to a web UI where I can modify the users (as was possible with 2.4), I get something like: This XML file does not appear to have any style information associated with it. The document tree is shown below. <about> <title>Open Build Service API</title> <description>API to the Open Build Service</description> <revision>2.4.0</revision> </about> I'm pretty sure this isn't a bug in anything but how I'm administering OBS. I'm still stuck trying to figure out how to reset this user's forgotten password, as well as other things such as groups, group membership, and so on. Any pointers would be appreciated. Thanks. -- Troy Telford -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hey, On 18.06.2013 18:42, Troy Telford wrote:
I'm still stuck trying to figure out how to reset this user's forgotten password, as well as other things such as groups, group membership, and so on.
Any pointers would be appreciated.
https://yourobs.example/configuration Henne -- Henne Vogelsang http://www.opensuse.org Everybody has a plan, until they get hit. - Mike Tyson -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2013-06-19 10:03:27 +0000, Henne Vogelsang said:
Hey,
On 18.06.2013 18:42, Troy Telford wrote:
I'm still stuck trying to figure out how to reset this user's forgotten password, as well as other things such as groups, group membership, and so on.
Any pointers would be appreciated.
While I appreciate the link, which lets me modify groups and group membership (which is great), I remain unable to find where the admin can reset a user's password. The user has forgotten the password. The only options I can see for the admin to modify are: * Name * email * Checkboxes for group membership * confirmed/deleted/locked (radio button) I see no option for the admin to change/reset a user's password. -- Troy Telford -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Mittwoch, 19. Juni 2013, 09:24:46 schrieb Troy Telford:
On 2013-06-19 10:03:27 +0000, Henne Vogelsang said:
Hey,
On 18.06.2013 18:42, Troy Telford wrote:
I'm still stuck trying to figure out how to reset this user's forgotten password, as well as other things such as groups, group membership, and so on.
Any pointers would be appreciated.
While I appreciate the link, which lets me modify groups and group membership (which is great), I remain unable to find where the admin can reset a user's password.
The user has forgotten the password.
The only options I can see for the admin to modify are: * Name * email * Checkboxes for group membership * confirmed/deleted/locked (radio button)
I see no option for the admin to change/reset a user's password.
I think the webui does not support this, but you can do so via api echo -n "newpassword" > file osc api -X POST -T file /person/$LOGIN?cmd=change_password -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, 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
On 2013-06-19 15:35:23 +0000, Adrian Schröter said:
I think the webui does not support this, but you can do so via api
echo -n "newpassword" > file osc api -X POST -T file /person/$LOGIN?cmd=change_password
Excellent! Thank you! -- Troy Telford -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
Henne Vogelsang
-
Troy Telford