Class Passwd_Driver_expect

Description

The Passwd_expect class provides an expect implementation of the passwd system.

$Horde: passwd/lib/Driver/expect.php,v 1.20.2.5 2009/01/06 15:25:23 jan Exp $

Copyright 2000-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.php.

Located in /lib/Driver/expect.php (line 17)

Passwd_Driver
   |
   --Passwd_Driver_expect
Method Summary
 boolean changePassword (string $user, string $old_password, string $new_password)
Variables
Methods
changePassword (line 28)

Change the users password by executing an expect script.

  • return: True on success, false or error message on error.
boolean changePassword (string $user, string $old_password, string $new_password)
  • string $user: User ID.
  • string $old_password: Old password.
  • string $new_password: New password.

Redefinition of:
Passwd_Driver::changePassword()
Change the user's password.

Inherited Methods

Inherited From Passwd_Driver

 Passwd_Driver::Passwd_Driver()
 Passwd_Driver::changePassword()
 Passwd_Driver::comparePasswords()
 Passwd_Driver::encryptPassword()
 Passwd_Driver::factory()

Documentation generated on Sun, 30 Jan 2011 05:36:07 +0000 by phpDocumentor 1.4.3