• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Give user access to a specific command line binary

Jesse Fitzgerald

New Pleskian
Does anyone know what the best way to give a vhost user(chrooted bin/bash shell) the ability to access a specific system binary. For instance one of my users wants to run jpico. Normally, I would add export PATH=$PATH:</usr/bin/jpico> to ~/.bashrc but I dont see .bashrc in /var/www/vhosts/usersdomain.com I was just wondering if I should create file and add the export line, or if there was a better practice.

Linux 2.6.32-696.10.3.el6.x86_64 #1 SMP Tue Sep 26 18:14:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Plesk Onyx Version 17.5.3 Update #33

Thank you! :)
 
Last edited:
Back
Top