Jailkit can't execute composer in /usr/local/bin

2 posts / 0 new
Last post
#1 Mon, 03/12/2018 - 14:15
gscerb

Jailkit can't execute composer in /usr/local/bin

I am running Centos 7, Webmin/Virtualmin with Jailkit installed. Jailkit works well to jail users to their home directories.

I have installed Composer globally (/usr/local/bin) and can run it with user1 who is not jailed.

However, when i try to switch to jailed user2 I have problems:

[root@host ~]# su user2 bash: /usr/bin/id: No such file or directory [user2@host ~]$ composer bash: composer: command not found

Any suggestions?

Tue, 03/13/2018 - 01:55
unborn
unborn's picture

hi gscerb, I would try to ask on irc - perhaps fastest and best way to get more info on that issue, did you try ask someone in #composer or #ssh or #centos channels?

Configuring/troubleshooting Debian servers is always great fun

Topic locked