Account suspension is broken in cPanel 66
Greetings,
I've run into another issue with WHM/cPanel v66.0.6.
I've suspended multiple accounts, but only the last suspension remains active.
When i run this code:
I can see that only the last suspended user is in this file.
How to fix this?
cat /usr/local/apache/conf/includes/account_suspensions.confI can see that only the last suspended user is in this file.
# This include file is automatically generated by
# /usr/local/cpanel/scripts/generate_account_suspension_include
# Any manual edits inside this file will be lost whenever account
# suspensions are updated.
RewriteEngine On
AllowOverride none
RedirectMatch ^/(?!cgi-sys/suspendedpage.cgi).* /cgi-sys/suspendedpage.cgi
How to fix this?
-
Hello @Leslie de Groot, I've reproduced this issue and will update this thread with an internal case number shortly. For now, here are the commands you can use to populate /usr/local/apache/conf/includes/account_suspensions.conf with the correct entries: /usr/local/cpanel/scripts/generate_account_suspension_include --update /scripts/restartsrv_httpd
Thank you.0 -
Hello, Internal case CPANEL-14799 is now open to address an issue where suspending or unsuspending an account via "WHM >> Manage Account Suspension" or with the suspendacct WHM API 1 function wipes entries for previously suspended accounts from the /usr/local/apache/conf/includes/account_suspensions.conf file. The following commands are available as a temporary workaround: /usr/local/cpanel/scripts/generate_account_suspension_include --update /scripts/restartsrv_httpd
I'll monitor the case and update this thread with more information as it becomes available. Thank you.0 -
Hello, This is fixed in cPanel 66.0.7: Fixed case CPANEL-14799: Ensure suspending multiple accounts works. The updated build is now available in the Edge build tier, and should reach the Current tier soon. The full cPanel 66 Change Log is available at: 66 Change Log - Change Logs - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
4 comments