Skip to content

Commit 234ea4d

Browse files
committed
Clean up default jailkit sections/programs (remove duplication, utilize correct sections)
1 parent c40198b commit 234ea4d

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
@@ -144,9 +144,9 @@ fastcgi_config_syntax=2
144144

145145
[jailkit]
146146
jailkit_chroot_home=/home/[username]
147-
jailkit_chroot_app_sections=basicshell editors extendedshell netutils ssh sftp scp groups jk_lsh
148-
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
149-
jailkit_chroot_cron_programs=/usr/bin/php /usr/bin/perl /usr/share/perl /usr/share/php
147+
jailkit_chroot_app_sections=coreutils basicshell editors extendedshell netutils ssh sftp scp jk_lsh mysql-client git
148+
jailkit_chroot_app_programs=lesspipe pico unzip zip patch which
149+
jailkit_chroot_cron_programs=/usr/bin/php /usr/lib/php/ /usr/share/php/ /usr/share/zoneinfo/ /usr/bin/perl /usr/share/perl/
150150
jailkit_chroot_authorized_keys_template=/root/.ssh/authorized_keys
151151
jailkit_hardlinks=allow
152152

0 commit comments

Comments
 (0)