<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="http://bugs.horde.org/themes/feed-rss.xsl" type="text/xsl"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <title>Script for passwd which uses sudo</title>
  <pubDate>Tue, 07 Oct 2008 04:22:25 -0400</pubDate>
  <link>http://bugs.horde.org/ticket/5300</link>
  <atom:link rel="self" type="application/rss+xml" title="Script for passwd which uses sudo" href="http://bugs.horde.org/ticket/5300/rss" />
  <description>Script for passwd which uses sudo</description>

  
  
  <item>
   <title>I didn't like the current possibilities and decided to copy </title>
   <description>I didn't like the current possibilities and decided to copy one of the expect scripts and change it to use sudo.

I could not get it to work with the 'expect' driver, but with the 'procopen' driver it works great!</description>
   <pubDate>Tue, 24 Apr 2007 10:15:49 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/5300#t32209</link>
  </item>
  <item>
   <title>Can't you merge this with the existing passwd_expect script?</title>
   <description>Can't you merge this with the existing passwd_expect script?</description>
   <pubDate>Wed, 25 Apr 2007 09:46:10 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/5300#t32236</link>
  </item>
  <item>
   <title>Ping?</title>
   <description>Ping?</description>
   <pubDate>Thu, 10 May 2007 05:29:41 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/5300#t32892</link>
  </item>
  <item>
   <title>Apologies, other projects demanded my attention...

I merg</title>
   <description>Apologies, other projects demanded my attention...

I merged it into the passwd_expect.</description>
   <pubDate>Thu, 10 May 2007 05:39:33 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/5300#t32896</link>
  </item>
  <item>
   <title>Committed, thanks.

Can you please explain why this doesn'</title>
   <description>Committed, thanks.

Can you please explain why this doesn't work with the expect driver, and how made it work with the procopen driver?</description>
   <pubDate>Thu, 10 May 2007 06:45:09 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/5300#t32902</link>
  </item>
  <item>
   <title>Could you please add the following comments to the script? I</title>
   <description>Could you please add the following comments to the script? I forgot that myself....

# alter sudoers (using visudo) so it contains the following information:
# -----
# # Needed for Horde's passwd module
# Runas_Alias     REGULARUSERS = ALL, !root
# apache ALL=(REGULARUSERS) NOPASSWD:/usr/bin/passwd
# -----

</description>
   <pubDate>Thu, 10 May 2007 07:42:55 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/5300#t32904</link>
  </item>
  <item>
   <title>Updates version, includes comments and fixed a small bug</title>
   <description>Updates version, includes comments and fixed a small bug</description>
   <pubDate>Tue, 22 May 2007 10:27:08 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/5300#t33350</link>
  </item>
  <item>
   <title>&gt; Committed, thanks.
&gt;
&gt; Can you please explain why this d</title>
   <description>&gt; Committed, thanks.
&gt;
&gt; Can you please explain why this doesn't work with the expect driver, 
&gt; 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' =&gt; 'Webmail',
    'preferred' =&gt; '',
    'password policy' =&gt; array(),
    'driver' =&gt; 'procopen',
    'params' =&gt; array(
        'program' =&gt; '/usr/bin/expect ' . dirname(__FILE__) . '/../scripts/passwd_expect -sudo'
    )
);
=====
</description>
   <pubDate>Tue, 22 May 2007 10:30:12 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/5300#t33351</link>
  </item>
  <item>
   <title>Fixes and example configuration committed.</title>
   <description>Fixes and example configuration committed.</description>
   <pubDate>Thu, 20 Sep 2007 16:31:44 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/5300#t37035</link>
  </item>
  

 </channel>
</rss>
