Author Topic: Password Plugin (using VirtualMin)  (Read 10111 times)

Offline tidus

  • Newbie
  • *
  • Posts: 9
Password Plugin (using VirtualMin)
« on: June 22, 2012, 08:18:55 AM »
How do I install the password plugin so I can allow all users using roundcube to change their email that way. Apprently u needto edit cpanel as well, but I am using VirtualMin,Webmin not cpanel

Offline tidus

  • Newbie
  • *
  • Posts: 9
Re: Password Plugin (using VirtualMin)
« Reply #1 on: June 22, 2012, 03:29:44 PM »
Ok I was able to activate it and do some light configurating. But when I try to change it, I get this error on roundbue

Could not change new password

And in my error log, I see this

[22-Jun-2012 23:24:25 +0400]: PHP Error: Password plugin: Unable to execute /home/mydomain/public_html/mail/plugins/password/drivers/chgvirtualminpasswd in /home/mydomain/public_html/mail/plugins/password/drivers/virtualmin.php on line 67 (POST /mail/?_task=settings&_action=plugin.password-save?_task=&_action=)


Help please.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Password Plugin (using VirtualMin)
« Reply #2 on: June 22, 2012, 03:49:15 PM »
What driver are you using?

Offline tidus

  • Newbie
  • *
  • Posts: 9
Re: Password Plugin (using VirtualMin)
« Reply #3 on: June 25, 2012, 09:37:24 AM »
The one that was already in the password plugin folder.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Password Plugin (using VirtualMin)
« Reply #4 on: June 25, 2012, 03:36:23 PM »
Did you follow the install instructions is the helper file?

Offline tidus

  • Newbie
  • *
  • Posts: 9
Re: Password Plugin (using VirtualMin)
« Reply #5 on: June 26, 2012, 12:33:53 PM »
Yes I did, I still get "Could not change new password" and this:

[26-Jun-2012 20:32:19 +0400]: PHP Error: Password plugin: Unable to execute /home/mydomain/public_html/mail/plugins/password/drivers/chgvirtualminpasswd in /home/mydomain/public_html/mail/plugins/password/drivers/virtualmin.php on line 67 (POST /mail/?_task=settings&_action=plugin.password-save?_task=&_action=)

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Password Plugin (using VirtualMin)
« Reply #6 on: June 26, 2012, 02:26:31 PM »
Make sure your PHP configuration allows the exec function and that the user it runs as can execute the command.

Offline tidus

  • Newbie
  • *
  • Posts: 9
Re: Password Plugin (using VirtualMin)
« Reply #7 on: June 27, 2012, 08:06:54 AM »
How do I do that?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Password Plugin (using VirtualMin)
« Reply #8 on: June 27, 2012, 04:04:51 PM »
Check your php.ini and make sure exec isn't in the disable_functions option and make sure that the user Apache is running as has the permissions necessary to execute the chgvirtualminpasswd command.

Offline tidus

  • Newbie
  • *
  • Posts: 9
Re: Password Plugin (using VirtualMin)
« Reply #9 on: June 27, 2012, 11:06:12 PM »
Check your php.ini and make sure exec isn't in the disable_functions option and make sure that the user Apache is running as has the permissions necessary to execute the chgvirtualminpasswd command.

there is no " disable_functions " in my php.ini, and how do I make sure that the user Apache is running and has permissions to execute chgvirtualminpasswd?

Offline tidus

  • Newbie
  • *
  • Posts: 9
Re: Password Plugin (using VirtualMin)
« Reply #10 on: June 29, 2012, 11:47:43 AM »
I need this issue solved please.