Reset cPanel (WHM) Initial configuration

Have you configured dedicated server with cPanel (WHM) for a client but would like to reset WHM initial configuration wizard to allow client to run the wizard as if you never logged in to WHM and cPanel was just installed?

You can reset initial WHM configuration by running the following shell command as root:

#rm -rf /etc/.whostmgrft

This will clear all basic WHM configuration you may have changed.

Looking for fully managed server to give you peace of mind?

Check out our line up of dedicated servers with cPanel

  • 8 Users Found This Useful
Was this answer helpful?

Related Articles

Delete shell history

Delete the .bash_history file: # rm -rf ~/.bash_history Clear the current history stored in...

Securing /dev/shm

To secure /dev/shm look for the mount line for /dev/shm in /etc/fstab and change it to the...

SAR (system activity monitor)

SAR (system activity monitor) produces system utilization reports based on the data collected...

Enable php open_basedir Protection

For open_basedir protection to work properly on cPanel servers running PHP in suPHP mode you'll...

Clean apache Semaphore

#ipcs | awk '/^0x000000/ && /nobody/ {print $2}' | xargs -n1 ipcrm -s