1

Does anyone know of a way to reset the password of one or more email addresses in a cPanel account from the command line?

masegaloeh
  • 18,236
  • 10
  • 57
  • 106
Amged Rustom
  • 131
  • 6

1 Answers1

2

can't be done with native cpanel functions by the CLI, however you could do it via the cPanel API using email::passwdpop. The only other thing would be to write your own script to modify /home/user/etc/shadow. I would recommend the API.

floodpants
  • 326
  • 1
  • 2
  • 7