Php Error Password Plugin Unable To Execute Sudo /usr/sbin/chpasswd
date ] [ thread ] [ subject ] [ author ] Hello, I Install roundcubemail using EPEL repository: # wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm # yum install roundcubemail I have the following settings: CentOS 6.4 Apache 2.2.15 PHP 5.3.3 MySQL 5.1.69 Roundcube Webmail 0.9.5 Plugin password 3.2 Users are not saved in the database, are stored in the operating system: /etc/passwd /etc/shadow cat /etc/roundcubemail/main.inc.php $rcmail_config['default_host'] = 'domain.com'; $rcmail_config['plugins'] = array(password); cat /usr/share/roundcubemail/plugins/password/config.inc.php $rcmail_config['password_driver'] = 'chpasswd'; cat /etc/sudoers apache ALL=NOPASSWD: /usr/sbin/chpasswd When I try to save the password change displays the message: an error has occurred, it can not save the new password cat /var/log/roundcubemail/errors PHP Error: Password plugin: Unable to execute sudo /usr/sbin/chpasswd 2> /dev/null in /usr/share/roundcubemail/plugins/password/drivers/chpasswd.php on line 32 (POST /mail/?_task=settings&_action=plugin.password-save?_task=&_action=) please help to find the error Daniel Lopez Previous message: [RCU] Testing Roundcube 1.0.x Next message: [RCU] Order of folders cluttered Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the users mailing list
9.1.2010Using manually tweaked PTX assembly in your CUDA 2 program 9.1.2010OpenCL autoconf m4 macro 9.1.2010Mandelbrot with MPI 10.1.2010Using dynamic libraries for modular client threads 11.1.2010Creating an OpenGL 3 context with GLX 11.1.2010Creating a double buffered X window with the DBE X extension 12.1.2010A simple random file read benchmark 14.12.2011Change local passwords via RoundCube safer 5.1.2012Multi-GPU CUDA stress test 6.1.2012CUDA (Driver API) + nvcc autoconf macro 29.5.2012CUDA (or OpenGL) video capture in Linux http://lists.roundcube.net/pipermail/users/2014-May/010483.html 31.7.2012GPGPU abstraction framework (CUDA/OpenCL + OpenGL) 7.8.2012OpenGL (4.3) compute shader example 10.12.2012GPGPU face-off: K20 vs 7970 vs GTX680 vs M2050 vs GTX580 4.8.2013DAViCal with Windows Phone 8 GDR2 5.5.2015Sample pattern generator 14.12.2011Change local passwords via RoundCube safer First of all I'm not a PHP/www developer, but I know my ways around UNIX http://wili.cc/blog/roundcubepw.html and I like to host stuff, like e-mails, for fun. For each e-mail user I have a local user account on my mail server, and I authenticate IMAP and SMTP via them. There are more sophisticated user backend alternatives to this, but it can't be said this isn't reasonable for many cases. I also like to have users' e-mails in their home directories although the users aren't allowed to log in e.g. via SSH. I feel it makes backupping and permission control nicely explicit. Now, it makes sense to allow such users to change their passwords via the webmail client, right? I really like RoundCube, mainly because it looks nice. However if you're using good-old local users and want to let them change their passwords using the webmail interface, you're out of luck. Basically, you have the default password plugin in "plugins/password", but its backends that change passwords of local users are dangerously insecure
Sign in Pricing Blog Support Search GitHub This repository Watch 192 Star 1,893 https://github.com/roundcube/roundcubemail/blob/master/plugins/password/README Fork 761 roundcube/roundcubemail Code Issues 183 Pull requests 30 Projects 0 Wiki Pulse Graphs Permalink Branch: master Switch branches/tags Branches Tags dev-fontawesome dev-layouts dev-zenmode master release-0.6 release-0.7 release-0.8 release-0.9-canned-responses release-0.9-kolab-ucs release-0.9-ldap-groups release-0.9 release-1.0 release-1.1 release-1.2 Nothing to show v1.0-rc v1.0-beta v0.9.5 v0.9.4 v0.9.3 v0.9.2 v0.9.1 v0.9.0 v0.9-rc2 v0.9-rc v0.9-beta php error v0.8.7 v0.8.6 v0.8.5 v0.8.4 v0.8.3 v0.8.2 v0.8.1 v0.8.0 v0.8-rc v0.8-beta v0.7.4 v0.7.3 v0.7.2 v0.7.1 v0.7 v0.7-beta2 v0.7-beta1 v0.6 v0.6-rc v0.6-beta v0.5@4408 v0.5.4@5065 v0.5.4@5062 v0.5.4 v0.5.3@4832 v0.5.3 v0.5.2@4679 v0.5.2 v0.5.1@4518 v0.5.1 v0.5 v0.5-rc@4349 v0.5-rc v0.5-beta@4347 v0.5-beta v0.4.2@4050 v0.4.2 v0.4.1@4045 v0.4.1 v0.4-beta@3548 v0.4-beta v0.3.1@3081 v0.3.1 v0.3-stable@2921 v0.3-stable v0.3-rc1 v0.3-beta@2799 v0.3-beta v0.2.2@2495 php error password v0.2.2@2481 v0.2.2 v0.2.1@2348 v0.2.1 v0.2-stable@2204 v0.2-stable v0.2-beta@1878 v0.2-beta@1877 v0.2-beta v0.2-alpha@1499 v0.2-alpha v0.1.1@1258 v0.1.1 v0.1-stable@1183 v0.1-stable v0.1-rc2@900 v0.1-rc2 v0.1-rc1@582 v0.1-rc1 v0.1-beta2 1.2.2 1.2.1 1.2.0 1.2-rc 1.2-beta 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.1-rc 1.1-beta 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 Nothing to show Find file Copy path roundcubemail/plugins/password/README 1c8f845 May 21, 2015 alecpl Add notes about sudo setup (#1490203) 4 contributors Users who have contributed to this file alecpl thomascube simonpl till Raw Blame History 366 lines (254 sloc) 12.5 KB ----------------------------------------------------------------------- Password Plugin for Roundcube ----------------------------------------------------------------------- Plugin that adds a possibility to change user password using many methods (drivers) via Settings/Password tab. ----------------------------------------------------------------------- This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v