Reset auto actions

From Wiki

(Difference between revisions)
Jump to: navigation, search
(Created page with "Category:FAQ = Question = How to reset a limitation or unsuspend an account that has been limited/suspended by the Auto Actions tool before the limit period has expired? = An...")
(Answer)
Line 7: Line 7:
If you wish to manually unsuspend an account that has been stopped by the Auto Actions for hitting the set limitations, you can do so via the standard cPanel unsuspend account script:
If you wish to manually unsuspend an account that has been stopped by the Auto Actions for hitting the set limitations, you can do so via the standard cPanel unsuspend account script:
-
/usr/local/cpanel/scripts/unsuspendacct
+
/usr/local/cpanel/scripts/unsuspendacct <username>
Note that this is applicable only for cPanel servers. On servers running other control panel, the respective unsuspend script should be used.  
Note that this is applicable only for cPanel servers. On servers running other control panel, the respective unsuspend script should be used.  
Line 13: Line 13:
If you wish to remove the limitation manually you should edit the .htaccess file in the home folder for the user and remove the redirect following the instructions below:
If you wish to remove the limitation manually you should edit the .htaccess file in the home folder for the user and remove the redirect following the instructions below:
-
1. Navigate to the home folder for his account:
+
* Navigate to the home folder for his account:
-
 
+
cd /home/user
-
cd /home/user
+
* Make the .htaccess file writable:
-
 
+
chattr -ai .htaccess
-
2. Make the .htaccess file writable:
+
* Remove the redirect from it
-
 
+
-
chattr -ai .htaccess
+
-
 
+
-
3. Remove the redirect from it
+

Revision as of 12:51, 17 October 2011

Question

How to reset a limitation or unsuspend an account that has been limited/suspended by the Auto Actions tool before the limit period has expired?

Answer

Normally, limited/suspended account is automatically unsuspended at the begining of the next hour if it violated the hourly limits or after 24 hours if it violated the daily limits.

If you wish to manually unsuspend an account that has been stopped by the Auto Actions for hitting the set limitations, you can do so via the standard cPanel unsuspend account script:

/usr/local/cpanel/scripts/unsuspendacct <username>

Note that this is applicable only for cPanel servers. On servers running other control panel, the respective unsuspend script should be used.

If you wish to remove the limitation manually you should edit the .htaccess file in the home folder for the user and remove the redirect following the instructions below:

cd /home/user
chattr -ai .htaccess
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox