Question
How can I clear login sessions used by cPanel?
Answer
Session files for cPanel, WHM, and Webmail are stored in the /var/cpanel/sessions directory. These files can be removed manually with the following command:
find /var/cpanel/sessions/{cache,preauth,raw}/ -type f -delete
Users who are actively logged in to cPanel, WHM, or Webmail when this is performed will be forced to re-authenticate to a new session in order to continue.