The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to suspend user without suspendind cpanel account

Discussion in 'General Discussion' started by atlantis21, Jun 26, 2013.

  1. atlantis21

    atlantis21 Well-Known Member

    Joined:
    Sep 18, 2012
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hi,

    Anyone here know how it's possible to suspend a website on WHM in keeping the customer to use his cpanel and ftp access?

    Thanks
     
  2. faisikhan

    faisikhan Well-Known Member

    Joined:
    Dec 12, 2011
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Islamabad, Pakistan
    cPanel Access Level:
    Root Administrator
    Hi,

    The best and the quicker solution is either to change the permissions of that user account to root with chown command

    chown root:root public_html

    OR you can do in that way also:

    Create a .htaccess file and past the following lines in it:

    order deny,allow
    deny from all
    allow from ip_address

    Hope that will work for you!!
     
  3. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Yes, I will suggest you use .htaccess options for your site and if you change the ownership of your public_html directory to root user your client can not access public_html directory through cPanel file manger and FTP
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It's not possible to suspend an account without also suspending access to cPanel/FTP. You can utilize the .htaccess file to deny access to the website, but cPanel access will allow a user to remove that restriction.

    Thank you.
     
Loading...

Share This Page