Change cPanel’s email password through command line

This script will help you change any email’s account password without using cPanel, this is done through the command line. It was written in PHP but mostly uses shell commands so I guess it was easier to use elements from both worlds.

Use it at your own risk, this script requires to be executed as root and was done for educational purposes.

Save it as change_password.php and execute it to see how to use it: php change_password.php

Leave a Reply

Your email address will not be published. Required fields are marked *