I installed Drush like this:

enter image description here

It works fine when I am centos user, when I switch user to aegir it doesn't work.

enter image description here

When I do which drush I get:

enter image description here

How can allow user aegir to use Drush?

  • Please QA-review the improvement I applied to your title ("not working* doesn't mean a lot, if anything ...). If you don't like it: just rollback, ok? – Pierre.Vriens Dec 20 '16 at 18:02
up vote 5 down vote accepted

Try to create a symlink to let all user access drush.

sudo ln -s /usr/local/bin/drush /usr/bin/

if not worked try

sudo ln -s /usr/local/bin/drush /usr/share/bin/
  • @NoSssweat you're welcome, I really getting happy when my help could safe other guys time. 😊🙏🏻 – Yusef Mohamadi Dec 20 '16 at 7:35

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.