Author Topic: chpass-wrapper.py  (Read 4271 times)

Offline tweety_mza

  • Newbie
  • *
  • Posts: 1
chpass-wrapper.py
« on: May 03, 2013, 03:44:30 PM »
¡Hola!

Necesito saber como usar este wrapper.

¿Esta es la línea que hay que agregar en el config.inc.php?

$rcmail_config['password_chpasswd_cmd'] = 'sudo python /usr/share/roundcube/plugins/password/drivers/chpass-wrapper.py 2> /dev/null';

Yo probé con eso, pero me dice que no se puede cambiar la contraseña.

¡Desde ya muchas gracias!

------------------------------------------------

Hello!

I need to know how to use this wrapper.

Is this the line you have to add in the config.inc.php?

$ rcmail_config ['password_chpasswd_cmd'] = 'sudo python / usr / share / roundcube / plugins / password / drivers / chpass-wrapper.py 2> / dev / null';

I tried with that, but it says that you can not change the password.

From already thank you very much!

Offline ivanbauer

  • Newbie
  • *
  • Posts: 1
Re: chpass-wrapper.py
« Reply #1 on: October 20, 2014, 08:36:38 AM »
Topic: chpass-wrapper.py  (Read 742 times)

Sorry to resurrect this topic but it seems that a lot of people have this problem.
Can someone please explain to us how to use this wrapper properly?

Offline smirk

  • Newbie
  • *
  • Posts: 1
Re: chpass-wrapper.py
« Reply #2 on: December 22, 2014, 09:37:46 AM »
Hi, look here:
http://www.roundcubeforum.net/index.php?topic=21861.0

This is the proper method. Pay attention to the paths where the script is stored at runtime. It's essential as the apache process might not have access to all the filesystem. Check the scipt's permissions also. It needs to be executable, e.g. chmod 750 is necessary.

Cheers