6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#5300] Script for passwd which uses sudo
*
Your Email Address
*
Spam protection
Enter the letters below:
. .._.. ..__..__. |__| | |\/|| || | | |_|_| ||__||__|
Comment
>> 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' > > ) > > ); > > ===== > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers