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 disable "Validate the IP addresses used in all cookie based logins." from SSH

Discussion in 'General Discussion' started by oanielsen, Jun 11, 2010.

  1. oanielsen

    oanielsen Member

    Joined:
    May 14, 2003
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    We setup our Cpanel boxes from behind a large load balancer. Any new cpanel boxes that have 11.25 release are instantly unreachable because of the new "Validate the IP addresses used in all cookie based logins."

    How do we dis-able this from SSH, rather than through the WHM interface?
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    From the shell, edit /var/cpanel/cpanel.config and change this entry:

    Code:
    cookieipvalidation=1
    Change the 1 to a 0. Save the change, and run the following command:

    Code:
    # /usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings
    This command has the same effect as saving the changes in the Main >> Server Configuration >> Tweak Settings interface in the WebHost Manager.
     
Loading...

Share This Page