Class Passwd_Driver_procopen

Description

The Passwd_procopen class provides a procopen implementation of the passwd system.

Any script or program can be supplied as the 'program' attribute value of the params argument. The username, old password and new password are written to the stdin of the process and then the stdout and stderr of the process are read and combined with the exit status value and returned to the caller if the status code is not 0.

$Horde: passwd/lib/Driver/procopen.php,v 1.4.2.6 2009/02/23 20:01:48 chuck Exp $

Copyright 2004-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/procopen.php (line 23)

Passwd_Driver
   |
   --Passwd_Driver_procopen
Method Summary
 boolean changePassword (string $user, string $oldpass, string $newpass)
Variables
Methods
changePassword (line 34)

Change the user's password by executing a user supplied command.

  • return: True on success, false or error message on error.
boolean changePassword (string $user, string $oldpass, string $newpass)
  • string $user: User ID.
  • string $oldpass: Old password.
  • string $newpass: 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:08 +0000 by phpDocumentor 1.4.3