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

War diese Antwort hilfreich? 0 Benutzer fanden dies hilfreich (0 Stimmen)