dj ramc
Basic Pleskian
- Server operating system version
- AlmaLinux 8.10 (Cerulean Leopard)
- Plesk version and microupdate number
- Plesk Obsidian v18.0.66_build1800241206.15 os_RedHat el8
Hi Everyone,
i dont have access to /usr/local/bin when using sudo -u domain.com
sudo -u domain.com which pm2
which: no pm2 in (/sbin:/bin:/usr/sbin:/usr/bin)
but when i run sudo -u domain.com -i
which pm2 works
i dont have access to /usr/local/bin when using sudo -u domain.com
sudo -u domain.com which pm2
which: no pm2 in (/sbin:/bin:/usr/sbin:/usr/bin)
but when i run sudo -u domain.com -i
which pm2 works
with output
/usr/local/bin/pm2
ls -l /usr/local/bin/pm2
lrwxrwxrwx 1 root root 31 Sep 5 01:09 /usr/local/bin/pm2 -> ../lib/node_modules/pm2/bin/pm2