Configuring WHM/cPanel tweak settings from SSH

You can also configure/alter tweak settings for WHM/cPanel from SSH terminal.

Follow the steps:

  1. Login to SSH via Putty or any terminal with root privileges.
  2. Run following command:
    • nano /var/cpanel/cpanel.config
  3. Make changes accordingly and save the file, after making changes run below command:
  4. /usr/local/cpanel/whostmgr/bin/whostmgr2 –updatetweaksettings