Skip to content

Commit efab456

Browse files
author
Marius Burkard
committed
Merge branch 'jnorell-develop-patch-67351' into 'develop'
Clean up default jailkit sections/programs (remove duplication, utilize correct sections) See merge request ispconfig/ispconfig3!1449
2 parents fc9c37d + 234ea4d commit efab456

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install/tpl/server.ini.master

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ fastcgi_config_syntax=2
148148

149149
[jailkit]
150150
jailkit_chroot_home=/home/[username]
151-
jailkit_chroot_app_sections=basicshell editors extendedshell netutils ssh sftp scp groups jk_lsh
152-
jailkit_chroot_app_programs=/usr/bin/groups /usr/bin/id /usr/bin/dircolors /usr/bin/lesspipe /usr/bin/basename /usr/bin/dirname /usr/bin/nano /usr/bin/pico /usr/bin/mysql /usr/bin/mysqldump /usr/bin/git /usr/bin/git-receive-pack /usr/bin/git-upload-pack /usr/bin/unzip /usr/bin/zip /bin/tar /bin/rm /usr/bin/patch /usr/bin/which /usr/lib/x86_64-linux-gnu/libmemcached.so.11 /usr/lib/x86_64-linux-gnu/libmemcachedutil.so.2 /usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so.2 /opt/php-5.6.8/bin/php /opt/php-5.6.8/include /opt/php-5.6.8/lib
153-
jailkit_chroot_cron_programs=/usr/bin/php /usr/bin/perl /usr/share/perl /usr/share/php
151+
jailkit_chroot_app_sections=coreutils basicshell editors extendedshell netutils ssh sftp scp jk_lsh mysql-client git
152+
jailkit_chroot_app_programs=lesspipe pico unzip zip patch which
153+
jailkit_chroot_cron_programs=/usr/bin/php /usr/lib/php/ /usr/share/php/ /usr/share/zoneinfo/ /usr/bin/perl /usr/share/perl/
154154
jailkit_chroot_authorized_keys_template=/root/.ssh/authorized_keys
155155
jailkit_hardlinks=allow
156156

0 commit comments

Comments
 (0)