Overview

Packages

  • None
  • Passwd

Classes

  • Passwd
  • Passwd_Driver
  • Passwd_Driver_Adsi
  • Passwd_Driver_Composite
  • Passwd_Driver_Expect
  • Passwd_Driver_Expectpecl
  • Passwd_Driver_Horde
  • Passwd_Driver_Http
  • Passwd_Driver_Kolab
  • Passwd_Driver_Ldap
  • Passwd_Driver_Pine
  • Passwd_Driver_Poppassd
  • Passwd_Driver_Procopen
  • Passwd_Driver_Pspasswd
  • Passwd_Driver_Servuftp
  • Passwd_Driver_Smbldap
  • Passwd_Driver_Smbpasswd
  • Passwd_Driver_Soap
  • Passwd_Driver_Sql
  • Passwd_Driver_Vmailmgr
  • Passwd_Driver_Vpopmail
  • Passwd_Exception
  • Passwd_Factory_Driver
  • Overview
  • Package
  • Class
  • Tree

Class Passwd_Driver_Procopen

The Passwd_Driver_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.

Copyright 2004-2012 Horde LLC (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.

Passwd_Driver
Extended by Passwd_Driver_Procopen
Package: Passwd
Author: Samuel Nicolary sam@nicolary.org
Located at Driver/Procopen.php
Methods summary
public
# changePassword( string $user, string $oldpass, string $newpass )

Changes the user's password.

Changes the user's password.

Parameters

$user
The user for which to change the password.
$oldpass
The old (current) user password.
$newpass
The new user password to set.

Throws

Passwd_Exception
Methods inherited from Passwd_Driver
__construct()
API documentation generated by ApiGen