Open tkimnguyen opened 6 years ago
@tkimnguyen This is already in the docs ! :)
https://docs.plone.org/manage/deploying/zope.html#adding-users-from-command-line
Guess we should link/update the troubleshoot page ?
Ah yes, that's a good idea. I hadn't thought to look up 'emergency user' under Zope, and I expect most people looking for help on it wouldn't stop to think whether the ability is within Plone or Zope.
( Hm I see that on https://docs.plone.org/manage/deploying/zope.html#adding-users-from-command-line there is a bad link to https://plone.org/documentation/faq/locked-out )
Might be good to scan our docs for links to plone.org/documentation ... but as to how to handle each old link: that's a lot of manual work. If you think that kind of scanning is a good idea I can look into adding docs.plone.org to our SiteImprove subscription
The documentation at https://github.com/plone/documentation/blob/5.1/manage/troubleshooting/basic.rst for creating an emergency Zope user points to http://quintagroup.com/services/support/tutorials/zope-access which dates back to 2008 and doesn't seem to work (at least didn't for me); the paths mentioned don't seem to exist any longer.
The method mentioned in https://community.plone.org/t/plone-site-wont-allow-me-to-log-in-with-zope-users-created-with-bin-instance-adduser/,
bin/instance adduser myadmin newpassword
is much simpler and actually works (for me, anyway).I'm not sure whether we should remove the link to the old tutorial entirely or should spend time to figure out if it still works and bring an updated version of that information directly in our documentation or just add the information about
bin/instance adduser myadmin newpassword