[Tickets #5300] Re: Script for passwd which uses sudo
bugs at bugs.horde.org
bugs at bugs.horde.org
Tue May 22 14:30:12 UTC 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=5300
-----------------------------------------------------------------------
Ticket | 5300
Updated By | voetelink at ecn.nl
Summary | Script for passwd which uses sudo
Queue | Passwd
Version | HEAD
Type | Enhancement
State | Feedback
Priority | 1. Low
Owners |
-----------------------------------------------------------------------
voetelink at ecn.nl (2007-05-22 07:30) wrote:
> Committed, thanks.
>
> Can you please explain why this doesn't work with the expect driver,
> and how made it work with the procopen driver?
If I use the expect driver, the webpage always states that the update was
succesful, even if I entered a wrong password or a too short new
password.
I used the following lines in backends.php to get the script running with
sudo:
------
$backends['sudo_passwd'] = array(
'name' => 'Webmail',
'preferred' => '',
'password policy' => array(),
'driver' => 'procopen',
'params' => array(
'program' => '/usr/bin/expect ' . dirname(__FILE__) .
'/../scripts/passwd_expect -sudo'
)
);
=====
More information about the bugs
mailing list