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.

Provisioning cPanel on VPS template - how to reset whm setup wizard?

Discussion in 'Workarounds and Optimization' started by pacifichost, Jan 31, 2011.

  1. pacifichost

    pacifichost Registered

    Joined:
    Oct 14, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    We are running openvz with solusvm and wish to pre-install cPanel for clients and do all the tweaks and mods to the server. Is it possible to make all our mods but then require the cPanel setup wizard to run so everytime clients access their vps for the first time they need to run through the setup wizard?
     
  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
    When you first log into the WebHost Manager and run the initial setup wizard, the 0-byte file /etc/.whostmgrft is created. If you remove this file, the wizard will run the next time the root user logs into the WHM.

    Code:
    # ls -alh /etc/.whostmgrft 
    -rw-r--r-- 1 root root 0 Feb  1 08:07 /etc/.whostmgrft
    # rm -rf /etc/.whostmgrft
    #
    cPanel simply looks for the existence of this file, so it can be empty. To restore the file and prevent the initial setup wizard from being run, touch it:

    Code:
    # touch /etc/.whostmgrft
    #
     
  3. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    can you share your template ?
     
Loading...

Share This Page