cPanel PHP API with Kohana


cPanel PHP API with Kohana

我需要用cPanel.php更改FTP用户的密码我的cPanel正在使用pureftpd创建FTP用户,我想实现FTP用户的更改密码。

问题是pureftpd在系统中创建虚拟用户,而cPanel.php API在服务器的/etc/passwd文件中操纵用户。。使用cPanel API是否可以更改pureftpd创建的FTP用户的密码?

您可以使用cPanel API2从脚本更改FTP帐户的密码

这是代码示例:

https://github.com/vthink/cpanel_api