This is a simple plug n play module, which allows you to add authentication over some of the critical Drush commands. This adds a safeguard so that whoever runs the drush command on server will be logged.

Features

  • Adds authentication for critical commands.
  • Logs the email of the user who executed the command.
  • Drupal user email address and password is used for authentication.

Post-Installation

This module adds a new configuration form under Configuration >> System >> Authenticate Drush Commands. Add all the critical drush commands in this form. One command per line, and you are good to go.

Note: Instead of Drush command Alias, try to add the actual command name in this form. It will take care of Aliases as well.

Additional Requirements

This module needs Drush.

Supporting organizations: 

Project information

Releases