<div dir="ltr">The solution was to execute the following in a python shell:<br><br>from pulp.server.db.connection import initialize; initialize()<br>from pulp.server.controllers.user import update_user<br>update_user('admin', {'password':'yournewpassword'}) <br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 11, 2018 at 11:21 AM, Paul Urwin <span dir="ltr"><<a href="mailto:register@paulurwin.com" target="_blank">register@paulurwin.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">This is now resolved, I was assisted on the #pulp freenode channel :)<div><div class="gmail-h5"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, 11 Jan 2018 at 12:14 Paul Urwin <<a href="mailto:register@paulurwin.com" target="_blank">register@paulurwin.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Can anyone point me in the right direction?<div><br></div><div>Cheers</div><div><br></div><div></div><div>Paul</div><div><br><br><div class="gmail_quote"><div dir="ltr">On Tue, 9 Jan 2018, 13:07 Paul Urwin, <<a href="mailto:register@paulurwin.com" target="_blank">register@paulurwin.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br><br>What's the procedure to reset the admin password and permissions, my host seems to now have a blank admin password, which I can log in with but then the admin user doesn't have the rights to change it or perform various types of other operation.<br><br>e.g. after logging in as admin<br><br><SNIP><br># pulp-admin auth permission list --resource /<br><br>+-----------------------------<wbr>------------------------------<wbr>-----------+<br><br>Permissions for /<br><br>+-----------------------------<wbr>------------------------------<wbr>-----------+<br><br><br><br>The specified user does not have permission to execute the given command<br></SNIP><br><br><br>Thanks!<div><br></div><div>Paul</div></blockquote></div></div></blockquote></div></div></div></div>
<br>______________________________<wbr>_________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/pulp-list</a><br></blockquote></div><br></div></div>