Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Suspend/Unsuspend user's account on cPanel from commandline  (Read 2942 times)

0 Members and 1 Guest are viewing this topic.

nirmal

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +0/-0
Suspend/Unsuspend user's account on cPanel from commandline
« on: November 24, 2013, 10:59:11 pm »
Hi all,

Suspend/Unsuspend user's account on cPanel from command line

1. To suspend an account:

    # /scripts/suspendacct <username>

2. To unsuspend an account:

    # /scripts/unsuspendacct <username>

If you still see the suspension page after un-suspending an account, go to the /home/username/public_html/.htaccess file and remove the redirect lines.

Thank you for checking this.

Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!