How to avoid Drush command not found after switching to aegir or other user? I installed Drush like this:



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



When I do which drush I get:



How can allow user aegir to use Drush?
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/