File manager - Edit - /usr/share/cagefs-plugins/hooks/jail_shell_disable.sh
Back
#!/bin/bash # Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2019 All Rights Reserved # # Licensed under CLOUD LINUX LICENSE AGREEMENT # http://cloudlinux.com/docs/LICENSE.TXT whmapi1 set_tweaksetting key=jaildefaultshell value=0 for u in `cat /etc/passwd | grep /usr/local/cpanel/bin/jailshell | cut -d: -f 1 ` ; do chsh -s /bin/bash $u &>/dev/null /bin/sed -i -e "s/SHELL=\"\/usr\/local\/cpanel\/bin\/jailshell\"/SHELL=\"\/bin\/bash\"/g" /var/spool/cron/$u done if [ -e /scripts/clear_orphaned_virtfs_mounts ]; then /scripts/clear_orphaned_virtfs_mounts --clearall &>/dev/null for i in `cat /proc/mounts | grep /home/virtfs | cut -d ' ' -f 2 ` ; do umount $i ; done fi
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings