Paltas para la instalación del modulo passwd en Horde importante primero : Antes leer el faq de instalación de sork-passwd del sitio hhtp://www.horde.org/passswd/ 1.- Instalar el modulo extra(paquete) llamado passwd de la aplicación Horde del sitio http://www.horde.org/passwd/ , o sea, en pocas palabras Copiar directorio passwd en el directorio de horde 2.- Configurar el archivo de configuración del passwd/config/*.php, ejemplo caso de estudio /etc/sork-passwd/backends.php Sola hay que descomentar esta parte y utilizar el modo expect del modulo passwd para usar una conexiòn ssh a otra maquina en este caso de prueba a localhosts Extracto del archivo /etc/sork-passwd/backends.php */ $backends['expect'] = array( 'name' => 'Servidor de Correo', 'preferred' => '', 'password policy' => array(), 'driver' => 'expect', 'params' => array( 'program' => '/usr/bin/expect', 'script' => 'scripts/passwd_expect', 'params' => '-ssh -host 127.0.0.1 -output `tempfile --directory /tmp/ --prefix srkpw`' ) ); /* 3.- Configurar el archivo del horde /config/registry.php Anexar opciòn passwd , para horde la reconozca y leea modulo passwd(ver mas abajo en ooooojjjooooo) Caso de estudio /etc/horde2/registry.php registry['mail']['compose'] = 'imp'; $this->registry['mail']['composePopup'] = 'imp'; /* contacts: Handler for contacts management. */ $this->registry['contacts']['search'] = 'turba'; $this->registry['contacts']['add'] = 'turba'; $this->registry['contacts']['sources'] = 'turba'; $this->registry['contacts']['fields'] = 'turba'; /* events: Handler for events. */ $this->registry['events']['show'] = 'kronolith'; /* memos: Handler for memos/notepad. */ $this->registry['memos']['search'] = 'mnemo'; $this->registry['memos']['list'] = 'mnemo'; $this->registry['memos']['show'] = 'mnemo'; $this->registry['memos']['add'] = 'mnemo'; /* tasks: Handler for todo lists. */ $this->registry['tasks']['search'] = 'nag'; $this->registry['tasks']['list'] = 'nag'; $this->registry['tasks']['show'] = 'nag'; $this->registry['tasks']['add'] = 'nag'; $this->applications['horde'] = array( 'fileroot' => '/usr/share/horde2', 'webroot' => '/horde2', 'initial_page' => 'login.php', 'icon' => '/horde2/graphics/home.gif', 'name' => _("Horde"), 'allow_guests' => true, 'status' => 'active', 'templates' => '/usr/share/horde2/templates', 'cookie_domain' => $_SERVER['SERVER_NAME'], // ** If IE will be used to access Horde modules, you should read // this discussion about the cookie_path setting (discussing issues // with IE's Content Advisor): // http://lists.horde.org/archives/imp/Week-of-Mon-20030113/029149.html 'cookie_path' => '/horde2', 'server_name' => $_SERVER['SERVER_NAME'], 'server_port' => $_SERVER['SERVER_PORT'] ); $this->applications['logout'] = array( 'fileroot' => '/usr/share/horde2', 'webroot' => $this->applications['horde']['webroot'], 'initial_page' => 'login.php?reason=logout', 'icon' => $this->applications['horde']['webroot'] . '/graphics/logout.gif', 'name' => _("Logout"), 'allow_guests' => false, 'status' => 'notoolbar' ); $this->applications['imp'] = array( 'fileroot' => '/usr/share/horde2/imp', 'webroot' => $this->applications['horde']['webroot'] . '/imp', 'icon' => $this->applications['horde']['webroot'] . '/imp/graphics/imp.gif', 'name' => _("Mail"), 'allow_guests' => false, 'status' => 'active' ); .......... ........ /*ooooooooojjjjjjjjjjjjoooooooooo*/ /* anexar este segmento para reconocer passwd $this->applications['passwd'] = array( 'fileroot' => dirname(__FILE__) . '/../passwd', 'webroot' => $this->applications['horde']['webroot'] . '/passwd', 'icon' => $this->applications['horde']['webroot'] . '/passwd/graphics/lock.gif', 'name' => _("Password"), 'allow_guests' => false, 'show' => true ); ............... .................. ................ 4.- Palta para no modificar el script de passwd , para no responder el yes de la pregunta de la clave publica que hace el servidor de SSH al inicio de la conexion La primera vez, hacer un SSH manual con el nombre de usuario del servidor web para decir yes y grabar la llave pública, modo super usario: de la siguiente manera: # su www-data # ssh nombre_maquina responder yes Con esto se logra que despues cualquier usuario puede usar la interfaz Horde sin problemas