Bypassing WHM/cPanel Security Questions

Screenshot from 2013-09-25 16:34:48

Sometimes you have ssh/shell access to a server with WHM/cPanel installed, but access to the panel itself is blocked by a window like this with four questions. Need to bypass the WHM security questions.

To avoid dealing with this nonsense, you can add your ip address to the following file:
/var/cpanel/userhomes/cpanel/.cpanel/securitypolicy/iplist/root

After refreshing the page, the questions will disappear.