Temporary, adding all /user/local/softaculous to the jail
During backup for a non jailed user, this is the command.
Code root@awx:~# ps -aux | grep softaculous
root 10464 0.0 0.0 4508 756 ? S 02:56 0:00 /usr/local/softaculous/bin/soft cli 02435647083cce95752714093ce62990
web2 10465 100 0.5 221404 44244 ? R 02:56 0:30 /usr/bin/php -n -c /usr/local/softaculous/php.ini -d auto_prepend_file=none -d auto_append_file=none /usr/local/softaculous/cli.php 02435647083cce95752714093ce62990
root 10515 0.0 0.0 13136 1008 pts/0 S+ 02:57 0:00 grep --color=auto softaculous
Tried this, from a ssh session with restricted jailkit shell user
Code defaultjk3@jk3.awx.debu.eu:/usr/local/softaculous$ php -n -c /usr/local/softaculous/php.ini -d auto_prepend_file=none -d auto_append_file=none /usr/local/softaculous/cli.php 02435647083cce95752714093ce62990
PHP Warning: PHP Startup: Unable to load dynamic library 'mysql.so' (tried: /usr/lib/php/20170718/mysql.so (/usr/lib/php/20170718/mysql.so: cannot open shared object file: No such file or directory), /usr/lib/php/20170718/mysql.so.so (/usr/lib/php/20170718/mysql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /usr/lib/php/20170718/mcrypt.so (/usr/lib/php/20170718/mcrypt.so: cannot open shared object file: No such file or directory), /usr/lib/php/20170718/mcrypt.so.so (/usr/lib/php/20170718/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Nothing to do. Please provide proper arguments.
|