drush backdrop-user-loginfor drush 8x


Display a one time login link for the given user account (defaults to uid 1).

drush backdrop-user-login

backdrop-user-login is a Drush command from the backdrop project.

A free and Open Source CMS for small to medium sized businesses and non-profits.

Backdrop CMS
  • Aliases


    backdrop-user-login has 1 alias/es:


    drush uli

  • Arguments


    backdrop-user-login accepts 2 argument/s:


    user : An optional uid, user name, or email address for the user to log in as. Default is to log in as uid 1. The uid/name/mail options take priority if specified.

    path : Optional path to redirect to after logging in.

  • Options


    backdrop-user-login accepts 4 option/s:


    --browser : Optional value denotes which browser to use (defaults to operating system default). Set to 0 to suppress opening a browser.

    --uid : A uid to log in as.

    --name : A user name to log in as.

    --mail : A user mail address to log in as.

  • Examples


    Displays and opens default web browser (if configured or detected) for a one-time login link for the user with the username ryan and redirect to the path node/add/blog.

    drush user-login ryan node/add/blog

    Open firefox web browser, login as the user with the e-mail address drush@example.org and redirect to the path admin/settings/performance.

    drush user-login --browser=firefox --mail=drush@example.org admin/settings/performance

  • Comments


    comments powered by Disqus