{"id":277,"date":"2017-10-31T15:04:45","date_gmt":"2017-10-31T15:04:45","guid":{"rendered":"http:\/\/www.evermoretechnologies.com\/blog\/?p=277"},"modified":"2017-10-31T15:05:00","modified_gmt":"2017-10-31T15:05:00","slug":"creating-a-magento-2-admin-user-via-the-command-line","status":"publish","type":"post","link":"https:\/\/www.evermoretechnologies.com\/blog\/2017\/10\/creating-a-magento-2-admin-user-via-the-command-line\/","title":{"rendered":"Creating a Magento 2 admin user via the command line."},"content":{"rendered":"<p>This is a pretty simple task, but I always have to look up the documentation on what the switches are to make a user, so below is the command I use:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">php bin\/magento admin:user:create --admin-user=\"kmiles\" --admin-password=\"password1\" --admin-email=\"email@domain.com\" --admin-firstname=\"Kevin\" --admin-lastname=\"Miles\"<\/pre>\n<p>There&#8217;s also a sometimes needed unlock command for when a user, or myself, tries to log in with the wrong password too many times.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">php bin\/magento admin:user:unlock kmiles<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a pretty simple task, but I always have to look up the documentation on what the switches are to make a user, so below is the command I&#8230; <a href=\"https:\/\/www.evermoretechnologies.com\/blog\/2017\/10\/creating-a-magento-2-admin-user-via-the-command-line\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[34,35],"tags":[],"_links":{"self":[{"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/277"}],"collection":[{"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=277"}],"version-history":[{"count":2,"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/277\/revisions"}],"predecessor-version":[{"id":279,"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/277\/revisions\/279"}],"wp:attachment":[{"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}