To suspend all accounts in WHM, following this command:
ls /var/cpanel/users | xargs -n1 /scripts/suspendacct
To unsuspend all accounts in WHM, following this command:
/bin/ls -A /var/cpanel/users | xargs -n1 /scripts/unsuspendacct
To suspend all accounts in WHM, following this command:
ls /var/cpanel/users | xargs -n1 /scripts/suspendacct
To unsuspend all accounts in WHM, following this command:
/bin/ls -A /var/cpanel/users | xargs -n1 /scripts/unsuspendacct
Join us on Telegram channel
Telegram