Is there a way to go about this without modifying the API? I've seen several interfaces/modules for various packages (WHMCS, etc) that claim to be able to change container's root password.
The only other alternative I can think of, if I'm not able to execute this command, would be to perhaps try something like ssh.
The only other alternative I can think of, if I'm not able to execute this command, would be to perhaps try something like ssh.