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

Cette réponse était-elle pertinente? 0 Utilisateurs l'ont trouvée utile (0 Votes)