1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Question Give user access to a specific command line binary

Discussion in 'Plesk Onyx for Linux' started by Jesse Fitzgerald, Dec 4, 2017.

  1. Jesse Fitzgerald

    Jesse Fitzgerald New Pleskian

    4
    20%
    Joined:
    Apr 9, 2016
    Messages:
    13
    Likes Received:
    0
    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: Dec 4, 2017
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,570
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
Loading...